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