Class Message.Deserializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<Message>
    Enclosing class:
    Message<T>

    public static class Message.Deserializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<Message>
    • Constructor Summary

      Constructors 
      Constructor Description
      Deserializer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Message deserialize​(com.google.gson.JsonElement jsonElement, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext context)  
      • Methods inherited from class java.lang.Object

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

      • Deserializer

        public Deserializer()
    • Method Detail

      • deserialize

        public Message deserialize​(com.google.gson.JsonElement jsonElement,
                                   java.lang.reflect.Type type,
                                   com.google.gson.JsonDeserializationContext context)
                            throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<Message>
        Throws:
        com.google.gson.JsonParseException