Class ImmutableListAdapter

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

    public class ImmutableListAdapter
    extends Object
    implements com.google.gson.JsonDeserializer<com.google.common.collect.ImmutableList<?>>
    Author:
    Tony Chemit - dev@tchemit.fr
    • Constructor Detail

      • ImmutableListAdapter

        public ImmutableListAdapter()
    • Method Detail

      • deserialize

        public com.google.common.collect.ImmutableList<?> deserialize​(com.google.gson.JsonElement json,
                                                                      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