com.google.gson.Gson.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 1?
?k ?l ?m ?n ?o ?p qr
st
?u
?vw
x ?y ?z ?{ ?| ?} ?~ ??
??
v
? ??
? ?? ?? ?? ?? ??
??
?? $??
?? '??
???
)? ?? ?? ?? ????
0v
???
4v ?? ??????????
<??
>? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???
K? ?? ??
? ?? ???
R? ???
U?
$?
$???
Zv
Z??
Z??
Z?
Y? ???
c??
ev ???? ?? ???
k? ??
??
???
pv
??
p?
??
???
vv
??
v?
??
??
????
~?
??
??
??
??
??
??
??
??
??
???
???
???
???
??
??
??
??
??
?
?
?
?
?
~?
??
??
??
?
?
?
Z?
Z
Z
?v
?
?v
? !
?"#$
?v
?%
?&'( EMPTY_MAP 6Lcom/google/gson/internal/ParameterizedTypeHandlerMap; DEFAULT_JSON_NON_EXECUTABLE Z
ConstantValue +DEFAULT_ANON_LOCAL_CLASS_EXCLUSION_STRATEGY 9Lcom/google/gson/AnonymousAndLocalClassExclusionStrategy; *DEFAULT_SYNTHETIC_FIELD_EXCLUSION_STRATEGY 1Lcom/google/gson/SyntheticFieldExclusionStrategy; )DEFAULT_MODIFIER_BASED_EXCLUSION_STRATEGY 0Lcom/google/gson/ModifierBasedExclusionStrategy; DEFAULT_NAMING_POLICY &Lcom/google/gson/FieldNamingStrategy2; DEFAULT_EXCLUSION_STRATEGY #Lcom/google/gson/ExclusionStrategy; JSON_NON_EXECUTABLE_PREFIX Ljava/lang/String; deserializationExclusionStrategy serializationExclusionStrategy constructorConstructor 1Lcom/google/gson/internal/ConstructorConstructor; serializers Signature [Lcom/google/gson/internal/ParameterizedTypeHandlerMap;>;
deserializers ]Lcom/google/gson/internal/ParameterizedTypeHandlerMap;>; serializeNulls htmlSafe generateNonExecutableJson prettyPrinting miniGson (Lcom/google/gson/internal/bind/MiniGson; ()V Code LineNumberTable LocalVariableTable this Lcom/google/gson/Gson;P(Lcom/google/gson/ExclusionStrategy;Lcom/google/gson/ExclusionStrategy;Lcom/google/gson/FieldNamingStrategy2;Lcom/google/gson/internal/ParameterizedTypeHandlerMap;ZLcom/google/gson/internal/ParameterizedTypeHandlerMap;Lcom/google/gson/internal/ParameterizedTypeHandlerMap;ZZZZZLcom/google/gson/LongSerializationPolicy;Ljava/util/List;)V factory Factory InnerClasses 3Lcom/google/gson/internal/bind/TypeAdapter$Factory; i$ Ljava/util/Iterator; fieldNamingPolicy instanceCreators complexMapKeySerialization generateNonExecutableGson #serializeSpecialFloatingPointValues longSerializationPolicy )Lcom/google/gson/LongSerializationPolicy; typeAdapterFactories Ljava/util/List; reflectiveTypeAdapterFactory builder Builder 0Lcom/google/gson/internal/bind/MiniGson$Builder; LocalVariableTypeTable \Lcom/google/gson/internal/ParameterizedTypeHandlerMap;>; ELjava/util/List;?(Lcom/google/gson/ExclusionStrategy;Lcom/google/gson/ExclusionStrategy;Lcom/google/gson/FieldNamingStrategy2;Lcom/google/gson/internal/ParameterizedTypeHandlerMap;>;ZLcom/google/gson/internal/ParameterizedTypeHandlerMap;>;Lcom/google/gson/internal/ParameterizedTypeHandlerMap;>;ZZZZZLcom/google/gson/LongSerializationPolicy;Ljava/util/List;)V
doubleAdapter .(Z)Lcom/google/gson/internal/bind/TypeAdapter; B(Z)Lcom/google/gson/internal/bind/TypeAdapter; floatAdapter checkValidFloatingPoint (D)V value D longAdapter V(Lcom/google/gson/LongSerializationPolicy;)Lcom/google/gson/internal/bind/TypeAdapter; j(Lcom/google/gson/LongSerializationPolicy;)Lcom/google/gson/internal/bind/TypeAdapter; createExclusionStrategy %()Lcom/google/gson/ExclusionStrategy;
strategies 5Ljava/util/List;
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 1Lcom/google/gson/internal/bind/JsonElementWriter; 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 +Lcom/google/gson/internal/bind/TypeAdapter;
oldLenient oldHtmlSafe oldSerializeNulls .Lcom/google/gson/internal/bind/TypeAdapter<*>; 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 Ljava/lang/Class; object Ljava/lang/Class; 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; typeAdapter Ljava/io/EOFException; !Ljava/lang/IllegalStateException; isEmpty 0Lcom/google/gson/internal/bind/TypeAdapter; 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; sb Ljava/lang/StringBuilder;
access$000 ;(Lcom/google/gson/Gson;)Lcom/google/gson/ExclusionStrategy; x0
access$100
access$200 (Lcom/google/gson/Gson;D)V x1
SourceFile Gson.java
? ? ? ? ? ? ? ? ? ?)* ?+,- ? ? ? ? /com/google/gson/internal/ConstructorConstructor ?. ? ? ? ? ? ? ? ? ? ? ? ? ? ? com/google/gson/Gson$1 ?/0 .com/google/gson/internal/bind/MiniGson$Builder1234 ? ?56 ?7 ?8 ?9 ?:< java/lang/Long
;< java/lang/Double java/lang/Float 8com/google/gson/internal/bind/ExcludedTypeAdapterFactory ?=> ?? ?@ ?A ? java/math/BigDecimal 3com/google/gson/internal/bind/BigDecimalTypeAdapterSB java/math/BigInteger 3com/google/gson/internal/bind/BigIntegerTypeAdapterC ?DE ?FGHIJKLMN 1com/google/gson/internal/bind/TypeAdapter$Factory 0com/google/gson/GsonToMiniGsonTypeAdapterFactory ?O :com/google/gson/internal/bind/CollectionTypeAdapterFactory ?PQ ?R ?S ?T ?U ?V ?WX ?YZ[ ? 3com/google/gson/internal/bind/MapTypeAdapterFactory ?\]^ ?_` ? ?a+ com/google/gson/Gson$2 ?bc+ com/google/gson/Gson$3defe "java/lang/IllegalArgumentException java/lang/StringBuildergh H is not a valid double value as per JSON specification. To override thisgi A behavior, use GsonBuilder.serializeSpecialDoubleValues() method.]^ ?jk+ com/google/gson/Gson$4 java/util/LinkedList ? ?lm ? ? ? ? ,com/google/gson/DisjunctionExclusionStrategy ?nopqrs /com/google/gson/internal/bind/JsonElementWriter)tu0 java/io/StringWriter$3vwx45 java/io/IOException com/google/gson/JsonIOException ?yzt{|}~K??K???K????7 java/lang/RuntimeException )]}'
??j !com/google/gson/stream/JsonWriter ?? ?j?78@?????? java/io/StringReader8L !com/google/gson/stream/JsonReader ??8RNO????? %JSON document was not fully consumed. -com/google/gson/stream/MalformedJsonException #com/google/gson/JsonSyntaxException?? java/io/EOFException java/lang/IllegalStateException8[ /com/google/gson/internal/bind/JsonElementReader ?? { serializeNulls:g?
,serializers:g? ,deserializers: ,instanceCreators: } 4com/google/gson/internal/ParameterizedTypeHandlerMap?? 7com/google/gson/AnonymousAndLocalClassExclusionStrategy /com/google/gson/SyntheticFieldExclusionStrategy ?? .com/google/gson/ModifierBasedExclusionStrategy ?? @com/google/gson/SerializedNameAnnotationInterceptingNamingPolicy %com/google/gson/JavaFieldNamingPolicy ?? com/google/gson/Gson java/lang/Object 'com/google/gson/LongSerializationPolicy DEFAULT java/util/Collections emptyList ()Ljava/util/List; 9(Lcom/google/gson/internal/ParameterizedTypeHandlerMap;)V p(Lcom/google/gson/Gson;Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy2;)V &com/google/gson/internal/bind/MiniGson withoutDefaultFactories 2()Lcom/google/gson/internal/bind/MiniGson$Builder; *com/google/gson/internal/bind/TypeAdapters STRING_FACTORY e(Lcom/google/gson/internal/bind/TypeAdapter$Factory;)Lcom/google/gson/internal/bind/MiniGson$Builder; INTEGER_FACTORY BOOLEAN_FACTORY BYTE_FACTORY
SHORT_FACTORY TYPE
newFactory ?(Ljava/lang/Class;Ljava/lang/Class;Lcom/google/gson/internal/bind/TypeAdapter;)Lcom/google/gson/internal/bind/TypeAdapter$Factory; I(Lcom/google/gson/ExclusionStrategy;Lcom/google/gson/ExclusionStrategy;)V NUMBER_FACTORY CHARACTER_FACTORY STRING_BUILDER_FACTORY STRING_BUFFER_FACTORY n(Ljava/lang/Class;Lcom/google/gson/internal/bind/TypeAdapter;)Lcom/google/gson/internal/bind/MiniGson$Builder; JSON_ELEMENT_FACTORY /com/google/gson/internal/bind/ObjectTypeAdapter FACTORY java/util/List iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; )com/google/gson/internal/bind/TypeAdapter ?(Lcom/google/gson/Gson;Lcom/google/gson/internal/ParameterizedTypeHandlerMap;Lcom/google/gson/internal/ParameterizedTypeHandlerMap;)V 4(Lcom/google/gson/internal/ConstructorConstructor;)V 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 5(Lcom/google/gson/internal/ConstructorConstructor;Z)V .com/google/gson/internal/bind/ArrayTypeAdapter ENUM_FACTORY build *()Lcom/google/gson/internal/bind/MiniGson; DOUBLE (Lcom/google/gson/Gson;)V FLOAT isNaN (D)Z
isInfinite append (D)Ljava/lang/StringBuilder; -(Ljava/lang/String;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V LONG add (Ljava/lang/Object;)Z (Ljava/util/Collection;)V com/google/gson/JsonNull INSTANCE Lcom/google/gson/JsonNull; getClass ()Ljava/lang/Class; get ()Lcom/google/gson/JsonElement; com/google/gson/internal/Streams writerForAppendable ((Ljava/lang/Appendable;)Ljava/io/Writer; (Ljava/lang/Throwable;)V !com/google/gson/reflect/TypeToken =(Ljava/lang/reflect/Type;)Lcom/google/gson/reflect/TypeToken;
getAdapter P(Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/internal/bind/TypeAdapter; 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/lang/Object;)Ljava/lang/Object; (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; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; makeUnmodifiable 8()Lcom/google/gson/internal/ParameterizedTypeHandlerMap; ([I)V )(Lcom/google/gson/FieldNamingStrategy2;)V 1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Q #*? ? ? ? ? ? ? ? ? ? ?
? " ? ? # ? ? ? ? ? ? ?*?
*+? *,? *? Y? ?
*? *? *? * ? *
? *? ? Y**?
-? :? Y? ? ? ? ? ? ? ? ? ? ? ? ? *
? !? "? ? # $*? %? "? ? & '*? (? "? ? )Y,+? *? ? +? ? ,? ? -? ? .? /? 0Y? 1? 2 3? 4Y? 5? 2? 6? ? 7? :? 8 :? 9 ? ? : ? ;:? W????