JsonSchema

expect open class JsonSchema(scalarResolver: ScalarResolver = JsonScalarResolver()) : Schema

Inheritors

actual open class JsonSchema(val scalarResolver: ScalarResolver) : Schema

Default schema for Kotlin/JS

actual open class JsonSchema(val scalarResolver: ScalarResolver) : Schema

Default schema for Kotlin/JVM

actual open class JsonSchema(val scalarResolver: ScalarResolver) : Schema

Default schema for Kotlin/Native

Constructors

Link copied to clipboard
expect constructor(scalarResolver: ScalarResolver = JsonScalarResolver())
actual constructor(scalarResolver: ScalarResolver)
actual constructor(scalarResolver: ScalarResolver)
actual constructor(scalarResolver: ScalarResolver)

Properties

scalarResolver
Link copied to clipboard

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

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

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

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

schemaTagConstructors
Link copied to clipboard

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

Basic constructs

Basic constructs

Basic constructs