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