Class ImmutableListDeserializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<com.google.common.collect.ImmutableList<?>>

    public class ImmutableListDeserializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<com.google.common.collect.ImmutableList<?>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.collect.ImmutableList<?> deserialize​(com.google.gson.JsonElement json, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext context)  
      • Methods inherited from class java.lang.Object

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

      • ImmutableListDeserializer

        public ImmutableListDeserializer()
    • Method Detail

      • deserialize

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