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

jsonObjectOf

fun jsonObjectOf(vararg fields: Pair<String, Any?>): JsonObject

A function providing a DSL for building io.vertx.core.json.JsonObject

Parameters

fields - key:value pairs to create the instance

Return
JsonObject