vertx / io.vertx.kotlin.core.json / array

# array

`fun Json.array(vararg values: Any?): JsonArray`

A io.vertx.core.json.JsonArray builder from a varargs of values, i.e a varargs of `Any?`

### Parameters

`fields` - the varargs of json values

Return
a io.vertx.core.json.JsonArray

`fun Json.array(values: Iterable<Any?>): JsonArray`

A io.vertx.core.json.JsonArray builder from an Iterable of values, i.e an Iterable of `Any?`

### Parameters

`fields` - the Iterable of json values

Return
a io.vertx.core.json.JsonArray

`fun Json.array(block: JsonArray.() -> Unit): JsonArray`

A function for applying a block onto a io.vertx.core.json.JsonArray.

`fun Json.array(value: JsonObject): JsonArray`
`fun Json.array(value: JsonArray): JsonArray`