addJsonObject

fun JsonArrayBuilder.addJsonObject(builderAction: JsonObjectBuilder.() -> Unit): Boolean

Adds the JSON object produced by the builderAction function to a resulting JSON array.

Always returns true similarly to ArrayList specification.