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