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