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