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

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