Package 

Class EnumCustomParser

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer

    
    public class EnumCustomParser<T extends Enum>
     implements JsonDeserializer<T>
                        
    • Method Summary

      Modifier and Type Method Description
      T deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)
      static <T> T parseEnum(Type type, JsonElement json)
      static <T> T parseEnum(Type type, String enumRaw)
      • Methods inherited from class com.google.gson.JsonDeserializer

        deserialize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait