Class CustomDeserializers.IpStateAdapter

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<IpState>
    Enclosing class:
    CustomDeserializers

    public static class CustomDeserializers.IpStateAdapter
    extends Object
    implements com.google.gson.JsonDeserializer<IpState>
    • Constructor Detail

      • IpStateAdapter

        public IpStateAdapter()
    • Method Detail

      • deserialize

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