vertx / io.vertx.kotlin.core.json / Json

# Json

`object Json`

### Extension Functions

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?` `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?` `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`
obj | `fun Json.obj(vararg fields: Pair<String, Any?>): JsonObject` A io.vertx.core.json.JsonObject builder from a varargs of fields, i.e a varargs of `Pair<String, Any?>` `fun Json.obj(fields: Iterable<Pair<String, Any?>>): JsonObject` A io.vertx.core.json.JsonObject builder from an Iterable of fields, i.e an Iterable of `Pair<String, Any?>` `fun Json.obj(fields: Map<String, Any?>): JsonObject` A io.vertx.core.json.JsonObject builder from an Map of fields, i.e a `Map<String, Any?>` `fun Json.obj(block: JsonObject.() -> Unit): JsonObject` A function for applying a block onto a io.vertx.core.json.JsonObject.