Class NovaParserModule.ServerAdapter

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

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

      • ServerAdapter

        public ServerAdapter()
    • Method Detail

      • deserialize

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