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