putJsonObject
fun JsonObjectBuilder.putJsonObject(key: String, builderAction: JsonObjectBuilder.() -> Unit): JsonElement?(source)
Add the JSON object produced by the builderAction function to a resulting JSON object using the given key.
Returns the previous value associated with key, or null
if the key was not present.