com.google.gson.Gson.class Maven / Gradle / Ivy
???? 1?
i jk lm
nop qr
ns
t
?uv
u wx
u
ny z{
| }~
| ?
? ? ? ? ? ??
u ???? ???? ?? ?? ?? ?? ?? *??
?
?? .??
? 1??
? ?? ?? ?? ??? ??
??? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???
J??
L??
N??
P?
n? ? ???
U| ???
X|
.?
.???
]u
]??
]??
]?
\? ???
f| k??
??
??
mu k???????? s?
m? k?
??
]??
??
? ??
??
??
?u
?
??
?
??
?u
?
??
?
??
???
??
??
??
??
??
??
??
??
i?
??
???
?
?
?
?
??
?
?
??
??
??
??
i
?
]?
] !" FutureTypeAdapter InnerClasses DEFAULT_JSON_NON_EXECUTABLE Z
ConstantValue JSON_NON_EXECUTABLE_PREFIX Ljava/lang/String; calls Ljava/lang/ThreadLocal; Signature {Ljava/lang/ThreadLocal;Lcom/google/gson/Gson$FutureTypeAdapter<*>;>;>; typeTokenCache Ljava/util/Map; WLjava/util/Map;Lcom/google/gson/TypeAdapter<*>;>; factories Ljava/util/List; 6Ljava/util/List; constructorConstructor 1Lcom/google/gson/internal/ConstructorConstructor; serializeNulls htmlSafe generateNonExecutableJson prettyPrinting deserializationContext ,Lcom/google/gson/JsonDeserializationContext; serializationContext *Lcom/google/gson/JsonSerializationContext; ()V Code LineNumberTable LocalVariableTable this Lcom/google/gson/Gson; ?(Lcom/google/gson/internal/Excluder;Lcom/google/gson/FieldNamingStrategy;Ljava/util/Map;ZZZZZZLcom/google/gson/LongSerializationPolicy;Ljava/util/List;)V excluder #Lcom/google/gson/internal/Excluder; fieldNamingPolicy %Lcom/google/gson/FieldNamingStrategy; instanceCreators complexMapKeySerialization generateNonExecutableGson #serializeSpecialFloatingPointValues longSerializationPolicy )Lcom/google/gson/LongSerializationPolicy; typeAdapterFactories LocalVariableTypeTable MLjava/util/Map;>; ?(Lcom/google/gson/internal/Excluder;Lcom/google/gson/FieldNamingStrategy;Ljava/util/Map;>;ZZZZZZLcom/google/gson/LongSerializationPolicy;Ljava/util/List;)V
doubleAdapter (Z)Lcom/google/gson/TypeAdapter; 4(Z)Lcom/google/gson/TypeAdapter; floatAdapter checkValidFloatingPoint (D)V value D longAdapter H(Lcom/google/gson/LongSerializationPolicy;)Lcom/google/gson/TypeAdapter; \(Lcom/google/gson/LongSerializationPolicy;)Lcom/google/gson/TypeAdapter;
getAdapter B(Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter; candidate Lcom/google/gson/TypeAdapter; factory $Lcom/google/gson/TypeAdapterFactory; call (Lcom/google/gson/Gson$FutureTypeAdapter; type #Lcom/google/gson/reflect/TypeToken; cached threadCalls requiresThreadLocalCleanup ongoingCall "Lcom/google/gson/TypeAdapter; -Lcom/google/gson/Gson$FutureTypeAdapter; (Lcom/google/gson/reflect/TypeToken; Lcom/google/gson/TypeAdapter<*>; bLjava/util/Map;Lcom/google/gson/Gson$FutureTypeAdapter<*>;>; b(Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter; getDelegateAdapter f(Lcom/google/gson/TypeAdapterFactory;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter; skipPast
skipPastFound ?(Lcom/google/gson/TypeAdapterFactory;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter; 0(Ljava/lang/Class;)Lcom/google/gson/TypeAdapter; Ljava/lang/Class; Ljava/lang/Class; P(Ljava/lang/Class;)Lcom/google/gson/TypeAdapter;
toJsonTree 1(Ljava/lang/Object;)Lcom/google/gson/JsonElement; src Ljava/lang/Object; I(Ljava/lang/Object;Ljava/lang/reflect/Type;)Lcom/google/gson/JsonElement; typeOfSrc Ljava/lang/reflect/Type; writer .Lcom/google/gson/internal/bind/JsonTreeWriter; toJson &(Ljava/lang/Object;)Ljava/lang/String; >(Ljava/lang/Object;Ljava/lang/reflect/Type;)Ljava/lang/String; Ljava/io/StringWriter; +(Ljava/lang/Object;Ljava/lang/Appendable;)V Ljava/lang/Appendable;
Exceptions C(Ljava/lang/Object;Ljava/lang/reflect/Type;Ljava/lang/Appendable;)V
jsonWriter #Lcom/google/gson/stream/JsonWriter; e Ljava/io/IOException; P(Ljava/lang/Object;Ljava/lang/reflect/Type;Lcom/google/gson/stream/JsonWriter;)V adapter
oldLenient oldHtmlSafe oldSerializeNulls 1(Lcom/google/gson/JsonElement;)Ljava/lang/String; jsonElement Lcom/google/gson/JsonElement; 6(Lcom/google/gson/JsonElement;Ljava/lang/Appendable;)V
newJsonWriter 5(Ljava/io/Writer;)Lcom/google/gson/stream/JsonWriter; Ljava/io/Writer; C(Lcom/google/gson/JsonElement;Lcom/google/gson/stream/JsonWriter;)V fromJson 7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; json classOfT object C(Ljava/lang/String;Ljava/lang/Class;)TT; >(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/lang/Object; typeOfT reader Ljava/io/StringReader; target TT; E(Ljava/lang/String;Ljava/lang/reflect/Type;)TT; 5(Ljava/io/Reader;Ljava/lang/Class;)Ljava/lang/Object; Ljava/io/Reader;
jsonReader #Lcom/google/gson/stream/JsonReader; A(Ljava/io/Reader;Ljava/lang/Class;)TT; <(Ljava/io/Reader;Ljava/lang/reflect/Type;)Ljava/lang/Object; C(Ljava/io/Reader;Ljava/lang/reflect/Type;)TT; assertFullConsumption 8(Ljava/lang/Object;Lcom/google/gson/stream/JsonReader;)V /Lcom/google/gson/stream/MalformedJsonException; obj O(Lcom/google/gson/stream/JsonReader;Ljava/lang/reflect/Type;)Ljava/lang/Object; typeToken typeAdapter Ljava/io/EOFException; !Ljava/lang/IllegalStateException; isEmpty V(Lcom/google/gson/stream/JsonReader;Ljava/lang/reflect/Type;)TT; B(Lcom/google/gson/JsonElement;Ljava/lang/Class;)Ljava/lang/Object; N(Lcom/google/gson/JsonElement;Ljava/lang/Class;)TT; I(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;)Ljava/lang/Object; P(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;)TT; toString ()Ljava/lang/String;
access$000 (Lcom/google/gson/Gson;D)V x0 x1
SourceFile Gson.java ? ?#$ ?%&'()* com/google/gson/Gson+$ ?,- ? ? ? ? java/lang/ThreadLocal ? ? java/util/HashMap./ ? ? com/google/gson/Gson$1 ?0 ? ? com/google/gson/Gson$2 ? ? /com/google/gson/internal/ConstructorConstructor ?1 ? ? ? ? ? ? ? ? ? ? java/util/ArrayList23456789:;<=>?@ java/lang/Long ? ?AB java/lang/Double ? ? java/lang/Float ? ?CDEF java/math/BigDecimalGAH java/math/BigIntegerIJKLMNOPQRSTUVW :com/google/gson/internal/bind/CollectionTypeAdapterFactory ?X 3com/google/gson/internal/bind/MapTypeAdapterFactory ?Y Ecom/google/gson/internal/bind/JsonAdapterAnnotationTypeAdapterFactory :com/google/gson/internal/bind/ReflectiveTypeAdapterFactory ?Z[\ ? ?] com/google/gson/Gson$3^ com/google/gson/Gson$4_`a` "java/lang/IllegalArgumentException java/lang/StringBuilderbc H is not a valid double value as per JSON specification. To override thisbd H behavior, use GsonBuilder.serializeSpecialFloatingPointValues() method.ab ?ef com/google/gson/Gson$5gh com/google/gson/TypeAdaptergi
java/util/Mapjk &com/google/gson/Gson$FutureTypeAdapterlmnopqrsi "com/google/gson/TypeAdapterFactorytuvwxhx ? GSON cannot handle by GSON cannot serialize zg{ ? |}~? ,com/google/gson/internal/bind/JsonTreeWriter%1g?%6%' java/io/StringWriter%,%9???:; java/io/IOException com/google/gson/JsonIOException ??g??r???r???r????%= java/lang/RuntimeException )]}'
??e !com/google/gson/stream/JsonWriter ?? ?e?=>D?????h java/io/StringReader>P !com/google/gson/stream/JsonReader ??>VRS????? %JSON document was not fully consumed. -com/google/gson/stream/MalformedJsonException #com/google/gson/JsonSyntaxException?? java/io/EOFException java/lang/IllegalStateException>_ ,com/google/gson/internal/bind/JsonTreeReader ?? {serializeNulls:b?
factories: ,instanceCreators: } java/lang/Object !com/google/gson/internal/Excluder DEFAULT !com/google/gson/FieldNamingPolicy IDENTITY #Lcom/google/gson/FieldNamingPolicy; java/util/Collections emptyMap ()Ljava/util/Map; 'com/google/gson/LongSerializationPolicy emptyList ()Ljava/util/List; synchronizedMap (Ljava/util/Map;)Ljava/util/Map; (Lcom/google/gson/Gson;)V (Ljava/util/Map;)V *com/google/gson/internal/bind/TypeAdapters JSON_ELEMENT_FACTORY java/util/List add (Ljava/lang/Object;)Z /com/google/gson/internal/bind/ObjectTypeAdapter FACTORY addAll (Ljava/util/Collection;)Z STRING_FACTORY INTEGER_FACTORY BOOLEAN_FACTORY BYTE_FACTORY
SHORT_FACTORY TYPE
newFactory e(Ljava/lang/Class;Ljava/lang/Class;Lcom/google/gson/TypeAdapter;)Lcom/google/gson/TypeAdapterFactory; NUMBER_FACTORY CHARACTER_FACTORY STRING_BUILDER_FACTORY STRING_BUFFER_FACTORY BIG_DECIMAL T(Ljava/lang/Class;Lcom/google/gson/TypeAdapter;)Lcom/google/gson/TypeAdapterFactory; BIG_INTEGER URL_FACTORY URI_FACTORY UUID_FACTORY LOCALE_FACTORY INET_ADDRESS_FACTORY BIT_SET_FACTORY -com/google/gson/internal/bind/DateTypeAdapter CALENDAR_FACTORY -com/google/gson/internal/bind/TimeTypeAdapter 0com/google/gson/internal/bind/SqlDateTypeAdapter TIMESTAMP_FACTORY .com/google/gson/internal/bind/ArrayTypeAdapter ENUM_FACTORY
CLASS_FACTORY 4(Lcom/google/gson/internal/ConstructorConstructor;)V 5(Lcom/google/gson/internal/ConstructorConstructor;Z)V |(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V unmodifiableList "(Ljava/util/List;)Ljava/util/List; DOUBLE FLOAT isNaN (D)Z
isInfinite append (D)Ljava/lang/StringBuilder; -(Ljava/lang/String;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V LONG get &(Ljava/lang/Object;)Ljava/lang/Object; ()Ljava/lang/Object; set (Ljava/lang/Object;)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next create X(Lcom/google/gson/Gson;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter; setDelegate (Lcom/google/gson/TypeAdapter;)V remove -(Ljava/lang/Object;)Ljava/lang/StringBuilder; !com/google/gson/reflect/TypeToken 6(Ljava/lang/Class;)Lcom/google/gson/reflect/TypeToken; com/google/gson/JsonNull INSTANCE Lcom/google/gson/JsonNull; getClass ()Ljava/lang/Class; ()Lcom/google/gson/JsonElement; com/google/gson/internal/Streams writerForAppendable ((Ljava/lang/Appendable;)Ljava/io/Writer; (Ljava/lang/Throwable;)V =(Ljava/lang/reflect/Type;)Lcom/google/gson/reflect/TypeToken; isLenient
setLenient (Z)V
isHtmlSafe setHtmlSafe getSerializeNulls setSerializeNulls write 8(Lcom/google/gson/stream/JsonWriter;Ljava/lang/Object;)V java/io/Writer (Ljava/io/Writer;)V setIndent #com/google/gson/internal/Primitives wrap $(Ljava/lang/Class;)Ljava/lang/Class; java/lang/Class cast (Ljava/io/Reader;)V peek $()Lcom/google/gson/stream/JsonToken; com/google/gson/stream/JsonToken END_DOCUMENT "Lcom/google/gson/stream/JsonToken; read 7(Lcom/google/gson/stream/JsonReader;)Ljava/lang/Object; (Lcom/google/gson/JsonElement;)V (Z)Ljava/lang/StringBuilder; 1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? T *? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
D*? *?
Y? ? *?
Y? ? ? *? Y*? ? *? Y*? ? *? Y-? ? *? *? *? *? ? Y? :? ? ! W? "? ! W+? ! W? # W? $? ! W? %? ! W? &? ! W? '? ! W? (? ! W? )**
? +? ,? ! W? -.* ? /? ,? ! W? 01* ? 2? ,? ! W? 3? ! W? 4? ! W? 5? ! W? 6? ! W7? 8? 9? ! W:? ;? 9? ! W?