public class JsonObjectUtils extends Object
Utility class providing handy methods to deal with JsonObject objects.
| Modifier and Type | Method and Description |
|---|---|
static io.vertx.core.MultiMap |
jsonObjectToMultiMap(io.vertx.core.json.JsonObject jsonObject)
Convert a
JsonObject to a MultiMap. |
static io.vertx.core.json.JsonObject |
multiMapToJsonObject(io.vertx.core.MultiMap map)
Convert a
MultiMap to a JsonObject. |
public static io.vertx.core.json.JsonObject multiMapToJsonObject(io.vertx.core.MultiMap map)
MultiMap to a JsonObject. Returns an empty JsonObject when null is
provided.map - the MultiMap to convert to a JsonObjectpublic static io.vertx.core.MultiMap jsonObjectToMultiMap(io.vertx.core.json.JsonObject jsonObject)
JsonObject to a MultiMap. Returns an empty MultiMap when null is
provided.jsonObject - the JsonObject to convert to a MultimapCopyright © 2016–2018. All rights reserved.