public class MyLocationTypeAdapter extends java.lang.Object implements com.google.gson.JsonDeserializer<LazyLocation>, com.google.gson.JsonSerializer<LazyLocation>
| Constructor and Description |
|---|
MyLocationTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
LazyLocation |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(LazyLocation src,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public LazyLocation deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<LazyLocation>com.google.gson.JsonParseExceptionpublic com.google.gson.JsonElement serialize(LazyLocation src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<LazyLocation>