JsonContentUtils

Pre-configured Json instances for common serialization scenarios.

Properties

Link copied to clipboard
val lenientFormat: Json

Lenient JSON that ignores unknown keys and relaxes parsing rules.

Link copied to clipboard
val prettyFormat: Json

Pretty-printed JSON with defaults encoded.

Link copied to clipboard
val rawFormat: Json

Compact (non-pretty-printed) JSON with defaults encoded.

Link copied to clipboard
val strictFormat: Json

Strict JSON that rejects unknown keys and non-lenient input, with defaults encoded.