JsonConfiguration

class JsonConfiguration

Configuration of the current Json instance available through Json.configuration and configured with JsonBuilder constructor.

Can be used for debug purposes and for custom Json-specific serializers via JsonEncoder and JsonDecoder.

Standalone configuration object is meaningless and can nor be used outside of the Json, neither new Json instance can be created from it.

Detailed description of each property is available in JsonBuilder class.

Properties

allowSpecialFloatingPointValues
Link copied to clipboard
val allowSpecialFloatingPointValues: Boolean = false
allowStructuredMapKeys
Link copied to clipboard
val allowStructuredMapKeys: Boolean = false
classDiscriminator
Link copied to clipboard
val classDiscriminator: String
coerceInputValues
Link copied to clipboard
val coerceInputValues: Boolean = false
encodeDefaults
Link copied to clipboard
val encodeDefaults: Boolean = false
explicitNulls
Link copied to clipboard
val explicitNulls: Boolean = true
ignoreUnknownKeys
Link copied to clipboard
val ignoreUnknownKeys: Boolean = false
isLenient
Link copied to clipboard
val isLenient: Boolean = false
prettyPrint
Link copied to clipboard
val prettyPrint: Boolean = false
prettyPrintIndent
Link copied to clipboard
val prettyPrintIndent: String
useAlternativeNames
Link copied to clipboard
val useAlternativeNames: Boolean = true
useArrayPolymorphism
Link copied to clipboard
val useArrayPolymorphism: Boolean = false