JsonValueSource

class JsonValueSource(filePath: Path, root: JsonObject) : ValueSource(source)

A ValueSource that uses Kotlin serialization to parse JSON config files as context to Clikt commands.

Constructors

Link copied to clipboard
constructor(filePath: Path, root: JsonObject)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getValues(context: Context, option: Option): List<ValueSource.Invocation>