public class KeyValueListConverter extends Object implements JsonCodec<KeyValueList,JsonObject>
KeyValueList.
NOTE: This class has been automatically generated from the KeyValueList original class using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static KeyValueListConverter |
INSTANCE |
| Constructor and Description |
|---|
KeyValueListConverter() |
| Modifier and Type | Method and Description |
|---|---|
KeyValueList |
decode(JsonObject value)
Decode
<J> to <T>. |
JsonObject |
encode(KeyValueList value)
Encode
<T> to <J>. |
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
KeyValueList obj) |
Class<KeyValueList> |
getTargetClass() |
static void |
toJson(KeyValueList obj,
JsonObject json) |
static void |
toJson(KeyValueList obj,
Map<String,Object> json) |
public static final KeyValueListConverter INSTANCE
public JsonObject encode(KeyValueList value)
JsonEncoder<T> to <J>.
value will not be null and the implementation must not return null.encode in interface JsonEncoder<KeyValueList,JsonObject>value - the valuepublic KeyValueList decode(JsonObject value)
JsonDecoder<J> to <T>.
json will not be null and the implementation must not return null.decode in interface JsonDecoder<KeyValueList,JsonObject>value - the json valuepublic Class<KeyValueList> getTargetClass()
getTargetClass in interface JsonDecoder<KeyValueList,JsonObject>getTargetClass in interface JsonEncoder<KeyValueList,JsonObject><T>public static void fromJson(Iterable<Map.Entry<String,Object>> json, KeyValueList obj)
public static void toJson(KeyValueList obj, JsonObject json)
public static void toJson(KeyValueList obj, Map<String,Object> json)
Copyright © 2019 Eclipse. All rights reserved.