public class CheckConverter extends Object implements JsonCodec<Check,JsonObject>
| Modifier and Type | Field and Description |
|---|---|
static CheckConverter |
INSTANCE |
| Constructor and Description |
|---|
CheckConverter() |
| Modifier and Type | Method and Description |
|---|---|
Check |
decode(JsonObject value)
Decode
<J> to <T>. |
JsonObject |
encode(Check value)
Encode
<T> to <J>. |
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
Check obj) |
Class<Check> |
getTargetClass() |
static void |
toJson(Check obj,
JsonObject json) |
static void |
toJson(Check obj,
Map<String,Object> json) |
public static final CheckConverter INSTANCE
public JsonObject encode(Check value)
JsonEncoder<T> to <J>.
value will not be null and the implementation must not return null.encode in interface JsonEncoder<Check,JsonObject>value - the valuepublic Check decode(JsonObject value)
JsonDecoder<J> to <T>.
json will not be null and the implementation must not return null.decode in interface JsonDecoder<Check,JsonObject>value - the json valuepublic Class<Check> getTargetClass()
getTargetClass in interface JsonDecoder<Check,JsonObject>getTargetClass in interface JsonEncoder<Check,JsonObject><T>public static void toJson(Check obj, JsonObject json)
Copyright © 2019 Eclipse. All rights reserved.