Package dev.petuska.kon.core
Types
KArray
Link copied to clipboard
A MutableList to represent a JSON object.
KObject
Link copied to clipboard
A wrapper around MutableMap to represent a JSON object
KON
Link copied to clipboard
A MutableMap to represent a JSON object.
TypedKObject
Link copied to clipboard
A wrapper around MutableMap to represent a JSON object
TypedKON
Link copied to clipboard
A MutableMap to represent a JSON object.
Functions
kobj
Link copied to clipboard
inline fun <V> kobj(base: TypedKON<V> = mutableMapOf(), obj: TypedKObject<V>.() -> Unit = {}): TypedKObject<V>
Content copied to clipboard
inline fun kobj(base: KON = mutableMapOf(), obj: KObject.() -> Unit = {}): KObject
Content copied to clipboard
Builds an object. Overrides Any::toString to return JSON object notation.