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