public final class PathTypeAdapter
extends <any>
Gson TypeAdapter capable of Serializing/Deserializing Paths.
Only Paths which are owned by the default file system are supported.
Created by covers1624 on 14/1/21.
| Constructor and Description |
|---|
PathTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.Path |
read(JsonReader in) |
void |
write(JsonWriter out,
java.nio.file.Path value) |