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