Class NovaParserModule.ImageAdapter

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<Image>
    Enclosing class:
    NovaParserModule

    @Singleton
    public static class NovaParserModule.ImageAdapter
    extends Object
    implements com.google.gson.JsonDeserializer<Image>
    • Constructor Detail

      • ImageAdapter

        public ImageAdapter()
    • Method Detail

      • deserialize

        public Image 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<Image>
        Throws:
        com.google.gson.JsonParseException