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