public class NotificationDeserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<Notification<?>>
Notification
s.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA |
static java.lang.String |
REMOTE_ID |
static java.lang.String |
SEQUENCE |
static java.lang.String |
TYPE |
Constructor and Description |
---|
NotificationDeserializer() |
Modifier and Type | Method and Description |
---|---|
Notification<?> |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
public static final java.lang.String TYPE
public static final java.lang.String SEQUENCE
public static final java.lang.String REMOTE_ID
public static final java.lang.String DATA
public Notification<?> 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<Notification<?>>
com.google.gson.JsonParseException