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

json

inline fun <T> json(block: Json.() -> T): T

The json builder for creating io.vertx.core.json.JsonObject or io.vertx.core.json.JsonArray

Parameters

block - the json building block

Return
a JSON object or array returned by the building block