Class AbstractResponseDeserializer<T extends Response>

java.lang.Object
org.vlaskin.moexiss.response.AbstractResponseDeserializer<T>
All Implemented Interfaces:
com.google.gson.JsonDeserializer<T>
Direct Known Subclasses:
FieldResponseDeserializer, ResponseDeserializer

public abstract class AbstractResponseDeserializer<T extends Response> extends Object implements com.google.gson.JsonDeserializer<T>
  • Constructor Details

    • AbstractResponseDeserializer

      public AbstractResponseDeserializer()
  • Method Details

    • deserialize

      public T deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<T extends Response>
      Throws:
      com.google.gson.JsonParseException