kobj
inline fun kobj(base: KON = mutableMapOf(), obj: KObject.() -> Unit = {}): KObject
Content copied to clipboard
inline fun <V> kobj(base: TypedKON<V> = mutableMapOf(), obj: TypedKObject<V>.() -> Unit = {}): TypedKObject<V>
Content copied to clipboard
Builds an object. Overrides Any::toString to return JSON object notation.
Parameters
obj
object builder