public class AttachmentDeserializer extends Object implements com.google.gson.JsonDeserializer<Attachment>
Attachment. Instantiates the correct
payload according to the current object.| Constructor and Description |
|---|
AttachmentDeserializer()
Instantiates a new AttachmentDeserializer.
|
| Modifier and Type | Method and Description |
|---|---|
Attachment |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
String |
toString() |
public AttachmentDeserializer()
public Attachment deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<Attachment>com.google.gson.JsonParseExceptionCopyright © 2017 BotMill. All rights reserved.