public class ConfigConverter extends Object implements JsonCodec<Config,JsonObject>
| Modifier and Type | Field and Description |
|---|---|
static ConfigConverter |
INSTANCE |
| Constructor and Description |
|---|
ConfigConverter() |
| Modifier and Type | Method and Description |
|---|---|
Config |
decode(JsonObject value) |
JsonObject |
encode(Config value) |
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
Config obj) |
Class<Config> |
getTargetClass() |
static void |
toJson(Config obj,
JsonObject json) |
static void |
toJson(Config obj,
Map<String,Object> json) |
public static final ConfigConverter INSTANCE
public JsonObject encode(Config value)
encode in interface JsonEncoder<Config,JsonObject>public Config decode(JsonObject value)
decode in interface JsonDecoder<Config,JsonObject>public Class<Config> getTargetClass()
getTargetClass in interface JsonDecoder<Config,JsonObject>getTargetClass in interface JsonEncoder<Config,JsonObject>public static void toJson(Config obj, JsonObject json)
Copyright © 2019 Eclipse. All rights reserved.