public class AttachmentAdapter extends java.lang.Object implements GsonAdapter, com.google.gson.JsonDeserializer<Attachment>
Attachment class.
The received json object is being unpacked.| Modifier and Type | Method and Description |
|---|---|
Attachment |
deserialize(com.google.gson.JsonElement jsonElement,
java.lang.reflect.Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
public Attachment 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<Attachment>com.google.gson.JsonParseException