JsonSchema

open class JsonSchema @JvmOverloads constructor(val scalarResolver: ScalarResolver = JsonScalarResolver(), val schemaTagConstructors: Map<Tag, ConstructNode> = defaultSchemaTagConstructors(scalarResolver)) : Schema(source)

Inheritors

Constructors

Link copied to clipboard
constructor(scalarResolver: ScalarResolver = JsonScalarResolver(), schemaTagConstructors: Map<Tag, ConstructNode> = defaultSchemaTagConstructors(scalarResolver))

Properties

Link copied to clipboard
open override val scalarResolver: ScalarResolver

Provide the way to connect a tag to a node by the contents of the scalar node. It is used either during implicit tag resolution for parsing or for dumping

Link copied to clipboard

Provide the way to construct the resolved tag. This map will override the default values in tagConstructors