Class UnwrapSingleField<T>

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<T>

    public class UnwrapSingleField<T>
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<T>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T deserialize​(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnwrapSingleField

        public UnwrapSingleField()
    • Method Detail

      • deserialize

        public T deserialize​(com.google.gson.JsonElement json,
                             java.lang.reflect.Type typeOfT,
                             com.google.gson.JsonDeserializationContext context)
                      throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<T>
        Throws:
        com.google.gson.JsonParseException