Class EventRequestDeserializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<EventRequest>

    public class EventRequestDeserializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<EventRequest>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventRequestDeserializer

        public EventRequestDeserializer()
    • Method Detail

      • deserialize

        public EventRequest deserialize​(com.google.gson.JsonElement json,
                                        java.lang.reflect.Type typeOfT,
                                        com.google.gson.JsonDeserializationContext context)
                                 throws com.google.gson.JsonParseException
        Deserializes the JSON payload contained in an event's request attribute into an EventRequest instance.
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<EventRequest>
        Throws:
        com.google.gson.JsonParseException