类 ObjectDeserializer

  • 所有已实现的接口:
    com.google.gson.JsonDeserializer<LCObject>

    public class ObjectDeserializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<LCObject>
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static java.lang.String KEY_SERVERDATA  
      static java.lang.String KEY_VERSION  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      LCObject deserialize​(com.google.gson.JsonElement elem, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext ctx)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • KEY_VERSION

        public static final java.lang.String KEY_VERSION
        另请参阅:
        常量字段值
      • KEY_SERVERDATA

        public static final java.lang.String KEY_SERVERDATA
        另请参阅:
        常量字段值
    • 构造器详细资料

      • ObjectDeserializer

        public ObjectDeserializer()
    • 方法详细资料

      • deserialize

        public LCObject deserialize​(com.google.gson.JsonElement elem,
                                    java.lang.reflect.Type type,
                                    com.google.gson.JsonDeserializationContext ctx)
                             throws com.google.gson.JsonParseException
        指定者:
        deserialize 在接口中 com.google.gson.JsonDeserializer<LCObject>
        抛出:
        com.google.gson.JsonParseException