public class BoxConverter extends Object implements JsonCodec<Box,JsonObject>
| Modifier and Type | Field and Description |
|---|---|
static BoxConverter |
INSTANCE |
| Constructor and Description |
|---|
BoxConverter() |
| Modifier and Type | Method and Description |
|---|---|
Box |
decode(JsonObject value) |
JsonObject |
encode(Box value) |
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
Box obj) |
Class<Box> |
getTargetClass() |
static void |
toJson(Box obj,
JsonObject json) |
static void |
toJson(Box obj,
Map<String,Object> json) |
public static final BoxConverter INSTANCE
public JsonObject encode(Box value)
encode in interface JsonEncoder<Box,JsonObject>public Box decode(JsonObject value)
decode in interface JsonDecoder<Box,JsonObject>public Class<Box> getTargetClass()
getTargetClass in interface JsonDecoder<Box,JsonObject>getTargetClass in interface JsonEncoder<Box,JsonObject>public static void toJson(Box obj, JsonObject json)
Copyright © 2019 Eclipse. All rights reserved.