A concise and lightweight Kotlin DSL to build JSON objects and render their String representations
⚠️ Breaking change
CustomKoson will now require to override serialize(): KosonType
, instead of serialize: String
which allows for a safer type hierarchy (no need to escape illegal chars)
Koson will escape line separators in keys and String values to match other serialization libraries' behavior (special thanks to Andrew Newton (https://github.com/anewton1998) for noticing this)