public class EventRequestDeserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<EventRequest>
Constructor and Description |
---|
EventRequestDeserializer() |
Modifier and Type | Method and Description |
---|---|
EventRequest |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context)
Deserializes the JSON payload contained in an event's
request attribute into an EventRequest instance. |
public EventRequest deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
request
attribute into an EventRequest
instance.deserialize
in interface com.google.gson.JsonDeserializer<EventRequest>
com.google.gson.JsonParseException