array

fun array(key: String, builder: JsonArrayBuilder.() -> Unit)

Adds field of type JsonArray constructed by JsonArrayBuilder.