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