obj

fun obj(key: String, builder: JsonObjectBuilder.() -> Unit)

Adds field of type JsonObject with key and value constructed by JsonObjectBuilder.