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