kobj

inline fun kobj(base: KON = mutableMapOf(), obj: KObject.() -> Unit = {}): KObject
inline fun <V> kobj(base: TypedKON<V> = mutableMapOf(), obj: TypedKObject<V>.() -> Unit = {}): TypedKObject<V>

Builds an object. Overrides Any::toString to return JSON object notation.

Parameters

obj

object builder