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