public class AbstractMTAdapter extends java.lang.Object implements com.google.gson.JsonSerializer<AbstractMT>, com.google.gson.JsonDeserializer<AbstractMT>
Constructor and Description |
---|
AbstractMTAdapter() |
Modifier and Type | Method and Description |
---|---|
AbstractMT |
deserialize(com.google.gson.JsonElement jsonElement,
java.lang.reflect.Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
com.google.gson.JsonElement |
serialize(AbstractMT src,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public com.google.gson.JsonElement serialize(AbstractMT src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<AbstractMT>
public AbstractMT deserialize(com.google.gson.JsonElement jsonElement, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<AbstractMT>
com.google.gson.JsonParseException