Skip navigation links
$ A B C D E F G H I J K L M N O P R S T U V W 

$

$Gson$Preconditions - Class in com.google.gson.internal
A simple utility class used to check method Preconditions.
$Gson$Preconditions() - Constructor for class com.google.gson.internal.$Gson$Preconditions
 
$Gson$Types - Class in com.google.gson.internal
Static methods for working with types.
$Gson$Types() - Constructor for class com.google.gson.internal.$Gson$Types
 
$Gson$Types.GenericArrayTypeImpl - Class in com.google.gson.internal
 
$Gson$Types.ParameterizedTypeImpl - Class in com.google.gson.internal
 
$Gson$Types.WildcardTypeImpl - Class in com.google.gson.internal
The WildcardType interface supports multiple upper bounds and multiple lower bounds.

A

Adapter(Gson, Type, TypeAdapter<E>, ObjectConstructor<? extends Collection<E>>) - Constructor for class com.google.gson.internal.bind.CollectionTypeAdapterFactory.Adapter
 
Adapter(Gson, Type, TypeAdapter<K>, Type, TypeAdapter<V>, ObjectConstructor<? extends Map<K, V>>) - Constructor for class com.google.gson.internal.bind.MapTypeAdapterFactory.Adapter
 
Adapter(ObjectConstructor<T>, Map<String, ReflectiveTypeAdapterFactory.BoundField>) - Constructor for class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.Adapter
 
add(LinkedHashTreeMap.Node<K, V>) - Method in class com.google.gson.internal.LinkedHashTreeMap.AvlBuilder
 
add(Map<Class<?>, Class<?>>, Map<Class<?>, Class<?>>, Class<?>, Class<?>) - Static method in class com.google.gson.internal.Primitives
 
add(Boolean) - Method in class com.google.gson.JsonArray
Adds the specified boolean to self.
add(Character) - Method in class com.google.gson.JsonArray
Adds the specified character to self.
add(Number) - Method in class com.google.gson.JsonArray
Adds the specified number to self.
add(String) - Method in class com.google.gson.JsonArray
Adds the specified string to self.
add(JsonElement) - Method in class com.google.gson.JsonArray
Adds the specified element to self.
add(String, JsonElement) - Method in class com.google.gson.JsonObject
Adds a member, which is a name-value pair, to self.
addAll(JsonArray) - Method in class com.google.gson.JsonArray
Adds all the elements of the specified array to self.
addDeserializationExclusionStrategy(ExclusionStrategy) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply the passed in exclusion strategy during deserialization.
addProperty(String, String) - Method in class com.google.gson.JsonObject
Convenience method to add a primitive member.
addProperty(String, Number) - Method in class com.google.gson.JsonObject
Convenience method to add a primitive member.
addProperty(String, Boolean) - Method in class com.google.gson.JsonObject
Convenience method to add a boolean member.
addProperty(String, Character) - Method in class com.google.gson.JsonObject
Convenience method to add a char member.
addSerializationExclusionStrategy(ExclusionStrategy) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply the passed in exclusion strategy during serialization.
addTypeAdaptersForDate(String, int, int, List<TypeAdapterFactory>) - Method in class com.google.gson.GsonBuilder
 
appendable - Variable in class com.google.gson.internal.Streams.AppendableWriter
 
AppendableWriter(Appendable) - Constructor for class com.google.gson.internal.Streams.AppendableWriter
 
arrayOf(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns an array type whose elements are all instances of componentType.
ArrayTypeAdapter<E> - Class in com.google.gson.internal.bind
Adapt an array of objects.
ArrayTypeAdapter(Gson, TypeAdapter<E>, Class<E>) - Constructor for class com.google.gson.internal.bind.ArrayTypeAdapter
 
assertFullConsumption(Object, JsonReader) - Static method in class com.google.gson.Gson
 
assertInstantiable(Class<?>) - Static method in class com.google.gson.internal.UnsafeAllocator
Check if the class can be instantiated by unsafe allocator.
ATOMIC_BOOLEAN - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
ATOMIC_BOOLEAN_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
ATOMIC_INTEGER - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
ATOMIC_INTEGER_ARRAY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
ATOMIC_INTEGER_ARRAY_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
ATOMIC_INTEGER_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
atomicLongAdapter(TypeAdapter<Number>) - Static method in class com.google.gson.Gson
 
atomicLongArrayAdapter(TypeAdapter<Number>) - Static method in class com.google.gson.Gson
 
AvlBuilder() - Constructor for class com.google.gson.internal.LinkedHashTreeMap.AvlBuilder
 
AvlIterator() - Constructor for class com.google.gson.internal.LinkedHashTreeMap.AvlIterator
 

B

beforeName() - Method in class com.google.gson.stream.JsonWriter
Inserts any necessary separators and whitespace before a name.
beforeValue() - Method in class com.google.gson.stream.JsonWriter
Inserts any necessary separators and whitespace before a literal value, inline array, or inline object.
beginArray() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
beginArray() - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
beginArray() - Method in class com.google.gson.stream.JsonReader
Consumes the next token from the JSON stream and asserts that it is the beginning of a new array.
beginArray() - Method in class com.google.gson.stream.JsonWriter
Begins encoding a new array.
beginObject() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
beginObject() - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
beginObject() - Method in class com.google.gson.stream.JsonReader
Consumes the next token from the JSON stream and asserts that it is the beginning of a new object.
beginObject() - Method in class com.google.gson.stream.JsonWriter
Begins encoding a new object.
BIG_DECIMAL - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
BIG_INTEGER - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
BIT_SET - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
BIT_SET_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
BOOLEAN - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
BOOLEAN_AS_STRING - Static variable in class com.google.gson.internal.bind.TypeAdapters
Writes a boolean as a string.
BOOLEAN_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
BoundField(String, boolean, boolean) - Constructor for class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.BoundField
 
boundFields - Variable in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.Adapter
 
buffer - Variable in class com.google.gson.stream.JsonReader
Use a manual buffer to easily read and unread upcoming characters, and also so we can create strings without an intermediate StringBuilder.
buildUnexpectedTypeError(Type, Class<?>...) - Static method in class com.google.gson.reflect.TypeToken
 
BYTE - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
BYTE_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 

C

CALENDAR - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
CALENDAR_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
calls - Variable in class com.google.gson.Gson
This thread local guards against reentrant calls to getAdapter().
canonicalize(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns a type that is functionally equal but not necessarily equal according to Object.equals().
CHARACTER - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
CHARACTER_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
charAt(int) - Method in class com.google.gson.internal.Streams.AppendableWriter.CurrentWrite
 
chars - Variable in class com.google.gson.internal.Streams.AppendableWriter.CurrentWrite
 
checkArgument(boolean) - Static method in class com.google.gson.internal.$Gson$Preconditions
 
checkLenient() - Method in class com.google.gson.stream.JsonReader
 
checkNotNull(T) - Static method in class com.google.gson.internal.$Gson$Preconditions
 
checkNotPrimitive(Type) - Static method in class com.google.gson.internal.$Gson$Types
 
checkOffset(String, int, char) - Static method in class com.google.gson.internal.bind.util.ISO8601Utils
Check if the expected character exist at the given offset in the value.
checkValidFloatingPoint(double) - Static method in class com.google.gson.Gson
 
CLASS - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
CLASS_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
clear() - Method in class com.google.gson.internal.LinkedHashTreeMap
 
clear() - Method in class com.google.gson.internal.LinkedHashTreeMap.EntrySet
 
clear() - Method in class com.google.gson.internal.LinkedHashTreeMap.KeySet
 
clear() - Method in class com.google.gson.internal.LinkedTreeMap
 
clear() - Method in class com.google.gson.internal.LinkedTreeMap.EntrySet
 
clear() - Method in class com.google.gson.internal.LinkedTreeMap.KeySet
 
clone() - Method in class com.google.gson.internal.Excluder
 
close() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
close() - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
close() - Method in class com.google.gson.internal.Streams.AppendableWriter
 
close() - Method in class com.google.gson.stream.JsonReader
Closes this JSON reader and the underlying Reader.
close(int, int, String) - Method in class com.google.gson.stream.JsonWriter
Closes the current scope by appending any necessary whitespace and the given bracket.
close() - Method in class com.google.gson.stream.JsonWriter
Flushes and closes this writer and the underlying Writer.
CLOSED - Static variable in class com.google.gson.stream.JsonScope
A document that's been closed and cannot be accessed.
CollectionTypeAdapterFactory - Class in com.google.gson.internal.bind
Adapt a homogeneous collection of objects.
CollectionTypeAdapterFactory(ConstructorConstructor) - Constructor for class com.google.gson.internal.bind.CollectionTypeAdapterFactory
 
CollectionTypeAdapterFactory.Adapter<E> - Class in com.google.gson.internal.bind
 
com.google.gson - package com.google.gson
This package provides the Gson class to convert Json to Java and vice-versa.
com.google.gson.annotations - package com.google.gson.annotations
This package provides annotations that can be used with Gson.
com.google.gson.internal - package com.google.gson.internal
Do NOT use any class in this package as they are meant for internal use in Gson.
com.google.gson.internal.bind - package com.google.gson.internal.bind
 
com.google.gson.internal.bind.util - package com.google.gson.internal.bind.util
 
com.google.gson.reflect - package com.google.gson.reflect
This package provides utility classes for finding type information for generic types.
com.google.gson.stream - package com.google.gson.stream
 
comparator - Variable in class com.google.gson.internal.LinkedHashTreeMap
 
comparator - Variable in class com.google.gson.internal.LinkedTreeMap
 
complexMapKeySerialization - Variable in class com.google.gson.GsonBuilder
 
complexMapKeySerialization - Variable in class com.google.gson.internal.bind.MapTypeAdapterFactory
 
componentType - Variable in class com.google.gson.internal.$Gson$Types.GenericArrayTypeImpl
 
componentType - Variable in class com.google.gson.internal.bind.ArrayTypeAdapter
 
componentTypeAdapter - Variable in class com.google.gson.internal.bind.ArrayTypeAdapter
 
constantToName - Variable in class com.google.gson.internal.bind.TypeAdapters.EnumTypeAdapter
 
construct() - Method in interface com.google.gson.internal.ObjectConstructor
Returns a new instance.
constructor - Variable in class com.google.gson.internal.bind.CollectionTypeAdapterFactory.Adapter
 
constructor - Variable in class com.google.gson.internal.bind.MapTypeAdapterFactory.Adapter
 
constructor - Variable in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.Adapter
 
constructorConstructor - Variable in class com.google.gson.Gson
 
constructorConstructor - Variable in class com.google.gson.internal.bind.CollectionTypeAdapterFactory
 
constructorConstructor - Variable in class com.google.gson.internal.bind.JsonAdapterAnnotationTypeAdapterFactory
 
constructorConstructor - Variable in class com.google.gson.internal.bind.MapTypeAdapterFactory
 
constructorConstructor - Variable in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
 
ConstructorConstructor - Class in com.google.gson.internal
Returns a function that can construct an instance of a requested type.
ConstructorConstructor(Map<Type, InstanceCreator<?>>) - Constructor for class com.google.gson.internal.ConstructorConstructor
 
consumeNonExecutePrefix() - Method in class com.google.gson.stream.JsonReader
Consumes the non-execute prefix if it exists.
contains(Object) - Method in class com.google.gson.internal.LinkedHashTreeMap.EntrySet
 
contains(Object) - Method in class com.google.gson.internal.LinkedHashTreeMap.KeySet
 
contains(Object) - Method in class com.google.gson.internal.LinkedTreeMap.EntrySet
 
contains(Object) - Method in class com.google.gson.internal.LinkedTreeMap.KeySet
 
contains(JsonElement) - Method in class com.google.gson.JsonArray
Returns true if this array contains the specified element.
containsKey(Object) - Method in class com.google.gson.internal.LinkedHashTreeMap
 
containsKey(Object) - Method in class com.google.gson.internal.LinkedTreeMap
 
context - Variable in class com.google.gson.internal.bind.TreeTypeAdapter
 
context - Variable in class com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper
 
create() - Method in class com.google.gson.GsonBuilder
Creates a Gson instance based on the current configuration.
create(Gson, TypeToken<T>) - Method in class com.google.gson.internal.bind.CollectionTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class com.google.gson.internal.bind.JsonAdapterAnnotationTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class com.google.gson.internal.bind.MapTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class com.google.gson.internal.bind.TreeTypeAdapter.SingleTypeFactory
 
create(Gson, TypeToken<T>) - Method in class com.google.gson.internal.Excluder
 
create() - Static method in class com.google.gson.internal.UnsafeAllocator
 
create(Gson, TypeToken<T>) - Method in interface com.google.gson.TypeAdapterFactory
Returns a type adapter for type, or null if this factory doesn't support type.
createBoundField(Gson, Field, String, TypeToken<?>, boolean, boolean) - Method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
 
createInstance(Type) - Method in interface com.google.gson.InstanceCreator
Gson invokes this call-back method during deserialization to create an instance of the specified type.
createJsonElement(Object) - Method in class com.google.gson.JsonObject
Creates the proper JsonElement object from the given value object.
CURRENCY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
CURRENCY_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
currentWrite - Variable in class com.google.gson.internal.Streams.AppendableWriter
 
CurrentWrite() - Constructor for class com.google.gson.internal.Streams.AppendableWriter.CurrentWrite
 

D

DANGLING_NAME - Static variable in class com.google.gson.stream.JsonScope
An object whose most recent element is a key.
datePattern - Variable in class com.google.gson.GsonBuilder
 
dateStyle - Variable in class com.google.gson.GsonBuilder
 
dateType - Variable in class com.google.gson.DefaultDateTypeAdapter
 
DateTypeAdapter - Class in com.google.gson.internal.bind
Adapter for Date.
DateTypeAdapter() - Constructor for class com.google.gson.internal.bind.DateTypeAdapter
 
declaringClassOf(TypeVariable<?>) - Static method in class com.google.gson.internal.$Gson$Types
Returns the declaring class of typeVariable, or null if it was not declared by a class.
deepCopy() - Method in class com.google.gson.JsonArray
Creates a deep copy of this element and all its children
deepCopy() - Method in class com.google.gson.JsonElement
Returns a deep copy of this element.
deepCopy() - Method in class com.google.gson.JsonNull
Returns the same instance since it is an immutable value
deepCopy() - Method in class com.google.gson.JsonObject
Creates a deep copy of this element and all its children
deepCopy() - Method in class com.google.gson.JsonPrimitive
Returns the same value as primitives are immutable.
DEFAULT - Static variable in class com.google.gson.internal.Excluder
 
DEFAULT_COMPLEX_MAP_KEYS - Static variable in class com.google.gson.Gson
 
DEFAULT_ESCAPE_HTML - Static variable in class com.google.gson.Gson
 
DEFAULT_JSON_NON_EXECUTABLE - Static variable in class com.google.gson.Gson
 
DEFAULT_LENIENT - Static variable in class com.google.gson.Gson
 
DEFAULT_PRETTY_PRINT - Static variable in class com.google.gson.Gson
 
DEFAULT_SERIALIZE_NULLS - Static variable in class com.google.gson.Gson
 
DEFAULT_SPECIALIZE_FLOAT_VALUES - Static variable in class com.google.gson.Gson
 
DefaultDateTypeAdapter - Class in com.google.gson
This type adapter supports three subclasses of date: Date, Timestamp, and java.sql.Date.
DefaultDateTypeAdapter(Class<? extends Date>) - Constructor for class com.google.gson.DefaultDateTypeAdapter
 
DefaultDateTypeAdapter(Class<? extends Date>, String) - Constructor for class com.google.gson.DefaultDateTypeAdapter
 
DefaultDateTypeAdapter(Class<? extends Date>, int) - Constructor for class com.google.gson.DefaultDateTypeAdapter
 
DefaultDateTypeAdapter(int, int) - Constructor for class com.google.gson.DefaultDateTypeAdapter
 
DefaultDateTypeAdapter(Class<? extends Date>, int, int) - Constructor for class com.google.gson.DefaultDateTypeAdapter
 
DefaultDateTypeAdapter(Class<? extends Date>, DateFormat, DateFormat) - Constructor for class com.google.gson.DefaultDateTypeAdapter
 
deferredName - Variable in class com.google.gson.stream.JsonWriter
 
delegate - Variable in class com.google.gson.Gson.FutureTypeAdapter
 
delegate - Variable in class com.google.gson.internal.bind.TreeTypeAdapter
The delegate is lazily created because it may not be needed, and creating it may fail.
delegate() - Method in class com.google.gson.internal.bind.TreeTypeAdapter
 
delegate - Variable in class com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper
 
deserializationStrategies - Variable in class com.google.gson.internal.Excluder
 
deserialize(JsonElement, Type) - Method in class com.google.gson.internal.bind.TreeTypeAdapter.GsonContextImpl
 
deserialize(JsonElement, Type) - Method in interface com.google.gson.JsonDeserializationContext
Invokes default deserialization on the specified object.
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in interface com.google.gson.JsonDeserializer
Gson invokes this call-back method during deserialization when it encounters a field of the specified type.
deserialized - Variable in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.BoundField
 
deserializer - Variable in class com.google.gson.internal.bind.TreeTypeAdapter
 
deserializer - Variable in class com.google.gson.internal.bind.TreeTypeAdapter.SingleTypeFactory
 
deserializeToDate(String) - Method in class com.google.gson.DefaultDateTypeAdapter
 
deserializeToDate(String) - Method in class com.google.gson.internal.bind.DateTypeAdapter
 
disableHtmlEscaping() - Method in class com.google.gson.GsonBuilder
By default, Gson escapes HTML characters such as < > etc.
disableInnerClassSerialization() - Method in class com.google.gson.GsonBuilder
Configures Gson to exclude inner classes during serialization.
disableInnerClassSerialization() - Method in class com.google.gson.internal.Excluder
 
doPeek() - Method in class com.google.gson.stream.JsonReader
 
DOUBLE - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
doubleAdapter(boolean) - Method in class com.google.gson.Gson
 
doubleCapacity() - Method in class com.google.gson.internal.LinkedHashTreeMap
 
doubleCapacity(LinkedHashTreeMap.Node<K, V>[]) - Static method in class com.google.gson.internal.LinkedHashTreeMap
Returns a new array containing the same nodes as oldTable, but with twice as many trees, each of (approximately) half the previous size.
doubleValue() - Method in class com.google.gson.internal.LazilyParsedNumber
 

E

elements - Variable in class com.google.gson.JsonArray
 
elementTypeAdapter - Variable in class com.google.gson.internal.bind.CollectionTypeAdapterFactory.Adapter
 
EMPTY_ARRAY - Static variable in class com.google.gson.stream.JsonScope
An array with no elements requires no separators or newlines before it is closed.
EMPTY_DOCUMENT - Static variable in class com.google.gson.stream.JsonScope
No object or array has been started.
EMPTY_OBJECT - Static variable in class com.google.gson.stream.JsonScope
An object with no name/value pairs requires no separators or newlines before it is closed.
EMPTY_TYPE_ARRAY - Static variable in class com.google.gson.internal.$Gson$Types
 
enableComplexMapKeySerialization() - Method in class com.google.gson.GsonBuilder
Enabling this feature will only change the serialized form if the map key is a complex type (i.e.
endArray() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
endArray() - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
endArray() - Method in class com.google.gson.stream.JsonReader
Consumes the next token from the JSON stream and asserts that it is the end of the current array.
endArray() - Method in class com.google.gson.stream.JsonWriter
Ends encoding the current array.
endObject() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
endObject() - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
endObject() - Method in class com.google.gson.stream.JsonReader
Consumes the next token from the JSON stream and asserts that it is the end of the current object.
endObject() - Method in class com.google.gson.stream.JsonWriter
Ends encoding the current object.
entrySet - Variable in class com.google.gson.internal.LinkedHashTreeMap
 
entrySet() - Method in class com.google.gson.internal.LinkedHashTreeMap
 
EntrySet() - Constructor for class com.google.gson.internal.LinkedHashTreeMap.EntrySet
 
entrySet - Variable in class com.google.gson.internal.LinkedTreeMap
 
entrySet() - Method in class com.google.gson.internal.LinkedTreeMap
 
EntrySet() - Constructor for class com.google.gson.internal.LinkedTreeMap.EntrySet
 
entrySet() - Method in class com.google.gson.JsonObject
Returns a set of members of this object.
ENUM_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
EnumTypeAdapter(Class<T>) - Constructor for class com.google.gson.internal.bind.TypeAdapters.EnumTypeAdapter
 
enUsFormat - Variable in class com.google.gson.DefaultDateTypeAdapter
 
enUsFormat - Variable in class com.google.gson.internal.bind.DateTypeAdapter
 
equal(Object, Object) - Static method in class com.google.gson.internal.$Gson$Types
 
equal(Object, Object) - Method in class com.google.gson.internal.LinkedHashTreeMap
 
equal(Object, Object) - Method in class com.google.gson.internal.LinkedTreeMap
 
equals(Type, Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns true if a and b are equal.
equals(Object) - Method in class com.google.gson.internal.$Gson$Types.GenericArrayTypeImpl
 
equals(Object) - Method in class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 
equals(Object) - Method in class com.google.gson.internal.$Gson$Types.WildcardTypeImpl
 
equals(Object) - Method in class com.google.gson.internal.LazilyParsedNumber
 
equals(Object) - Method in class com.google.gson.internal.LinkedHashTreeMap.Node
 
equals(Object) - Method in class com.google.gson.internal.LinkedTreeMap.Node
 
equals(Object) - Method in class com.google.gson.JsonArray
 
equals(Object) - Method in class com.google.gson.JsonNull
All instances of JsonNull are the same
equals(Object) - Method in class com.google.gson.JsonObject
 
equals(Object) - Method in class com.google.gson.JsonPrimitive
 
equals(Object) - Method in class com.google.gson.reflect.TypeToken
 
escapeHtmlChars - Variable in class com.google.gson.GsonBuilder
 
exactType - Variable in class com.google.gson.internal.bind.TreeTypeAdapter.SingleTypeFactory
 
excludeClass(Class<?>, boolean) - Method in class com.google.gson.internal.Excluder
 
excludeField(Field, boolean) - Method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
 
excludeField(Field, boolean, Excluder) - Static method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
 
excludeField(Field, boolean) - Method in class com.google.gson.internal.Excluder
 
excludeFieldsWithModifiers(int...) - Method in class com.google.gson.GsonBuilder
Configures Gson to excludes all class fields that have the specified modifiers.
excludeFieldsWithoutExposeAnnotation() - Method in class com.google.gson.GsonBuilder
Configures Gson to exclude all fields from consideration for serialization or deserialization that do not have the Expose annotation.
excludeFieldsWithoutExposeAnnotation() - Method in class com.google.gson.internal.Excluder
 
excluder - Variable in class com.google.gson.Gson
 
excluder() - Method in class com.google.gson.Gson
 
excluder - Variable in class com.google.gson.GsonBuilder
 
excluder - Variable in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
 
Excluder - Class in com.google.gson.internal
This class selects which fields and types to omit.
Excluder() - Constructor for class com.google.gson.internal.Excluder
 
ExclusionStrategy - Interface in com.google.gson
A strategy (or policy) definition that is used to decide whether or not a field or top-level class should be serialized or deserialized as part of the JSON output/input.
expect(JsonToken) - Method in class com.google.gson.internal.bind.JsonTreeReader
 
expectedModCount - Variable in class com.google.gson.internal.LinkedHashTreeMap.LinkedTreeMapIterator
 
expectedModCount - Variable in class com.google.gson.internal.LinkedTreeMap.LinkedTreeMapIterator
 
Expose - Annotation Type in com.google.gson.annotations
An annotation that indicates this member should be exposed for JSON serialization or deserialization.

F

factories - Variable in class com.google.gson.Gson
 
factories - Variable in class com.google.gson.GsonBuilder
 
FACTORY - Static variable in class com.google.gson.internal.bind.ArrayTypeAdapter
 
FACTORY - Static variable in class com.google.gson.internal.bind.DateTypeAdapter
 
FACTORY - Static variable in class com.google.gson.internal.bind.ObjectTypeAdapter
 
FACTORY - Static variable in class com.google.gson.internal.bind.SqlDateTypeAdapter
 
FACTORY - Static variable in class com.google.gson.internal.bind.TimeTypeAdapter
 
field - Variable in class com.google.gson.FieldAttributes
 
FieldAttributes - Class in com.google.gson
A data object that stores attributes of a field.
FieldAttributes(Field) - Constructor for class com.google.gson.FieldAttributes
Constructs a Field Attributes object from the f.
FieldNamingPolicy - Enum in com.google.gson
An enumeration that defines a few standard naming conventions for JSON field names.
FieldNamingPolicy() - Constructor for enum com.google.gson.FieldNamingPolicy
 
fieldNamingPolicy - Variable in class com.google.gson.GsonBuilder
 
fieldNamingPolicy - Variable in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
 
FieldNamingStrategy - Interface in com.google.gson
A mechanism for providing custom field naming in Gson.
fieldNamingStrategy - Variable in class com.google.gson.Gson
 
fieldNamingStrategy() - Method in class com.google.gson.Gson
 
fillBuffer(int) - Method in class com.google.gson.stream.JsonReader
Returns true once limit - pos >= minimum.
find(K, boolean) - Method in class com.google.gson.internal.LinkedHashTreeMap
Returns the node at or adjacent to the given key, creating it if requested.
find(K, boolean) - Method in class com.google.gson.internal.LinkedTreeMap
Returns the node at or adjacent to the given key, creating it if requested.
findByEntry(Map.Entry<?, ?>) - Method in class com.google.gson.internal.LinkedHashTreeMap
Returns this map's entry that has the same key and value as entry, or null if this map has no such entry.
findByEntry(Map.Entry<?, ?>) - Method in class com.google.gson.internal.LinkedTreeMap
Returns this map's entry that has the same key and value as entry, or null if this map has no such entry.
findByObject(Object) - Method in class com.google.gson.internal.LinkedHashTreeMap
 
findByObject(Object) - Method in class com.google.gson.internal.LinkedTreeMap
 
first() - Method in class com.google.gson.internal.LinkedHashTreeMap.Node
Returns the first node in this subtree.
first() - Method in class com.google.gson.internal.LinkedTreeMap.Node
Returns the first node in this subtree.
FLOAT - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
floatAdapter(boolean) - Method in class com.google.gson.Gson
 
floatValue() - Method in class com.google.gson.internal.LazilyParsedNumber
 
flush() - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
flush() - Method in class com.google.gson.internal.Streams.AppendableWriter
 
flush() - Method in class com.google.gson.stream.JsonWriter
Ensures all buffered data is written to the underlying Writer and flushes that writer.
format - Variable in class com.google.gson.internal.bind.SqlDateTypeAdapter
 
format - Variable in class com.google.gson.internal.bind.TimeTypeAdapter
 
format(Date) - Static method in class com.google.gson.internal.bind.util.ISO8601Utils
Format a date into 'yyyy-MM-ddThh:mm:ssZ' (default timezone, no milliseconds precision)
format(Date, boolean) - Static method in class com.google.gson.internal.bind.util.ISO8601Utils
Format a date into 'yyyy-MM-ddThh:mm:ss[.sss]Z' (GMT timezone)
format(Date, boolean, TimeZone) - Static method in class com.google.gson.internal.bind.util.ISO8601Utils
Format date into yyyy-MM-ddThh:mm:ss[.sss][Z|[+-]hh:mm]
fromJson(String, Class<T>) - Method in class com.google.gson.Gson
This method deserializes the specified Json into an object of the specified class.
fromJson(String, Type) - Method in class com.google.gson.Gson
This method deserializes the specified Json into an object of the specified type.
fromJson(Reader, Class<T>) - Method in class com.google.gson.Gson
This method deserializes the Json read from the specified reader into an object of the specified class.
fromJson(Reader, Type) - Method in class com.google.gson.Gson
This method deserializes the Json read from the specified reader into an object of the specified type.
fromJson(JsonReader, Type) - Method in class com.google.gson.Gson
Reads the next JSON value from reader and convert it to an object of type typeOfT.
fromJson(JsonElement, Class<T>) - Method in class com.google.gson.Gson
This method deserializes the Json read from the specified parse tree into an object of the specified type.
fromJson(JsonElement, Type) - Method in class com.google.gson.Gson
This method deserializes the Json read from the specified parse tree into an object of the specified type.
fromJson(Reader) - Method in class com.google.gson.TypeAdapter
Converts the JSON document in in to a Java object.
fromJson(String) - Method in class com.google.gson.TypeAdapter
Converts the JSON document in json to a Java object.
fromJsonTree(JsonElement) - Method in class com.google.gson.TypeAdapter
Converts jsonTree to a Java object.
FutureTypeAdapter() - Constructor for class com.google.gson.Gson.FutureTypeAdapter
 

G

generateNonExecutableJson - Variable in class com.google.gson.Gson
 
generateNonExecutableJson - Variable in class com.google.gson.GsonBuilder
 
generateNonExecutableJson() - Method in class com.google.gson.GsonBuilder
Makes the output JSON non-executable in Javascript by prefixing the generated JSON with some special text.
GenericArrayTypeImpl(Type) - Constructor for class com.google.gson.internal.$Gson$Types.GenericArrayTypeImpl
 
get(Object) - Method in class com.google.gson.FieldAttributes
Returns the value of the field represented by this Field, on the specified object.
get() - Method in class com.google.gson.internal.bind.JsonTreeWriter
Returns the top level object produced by this writer.
get(TypeToken<T>) - Method in class com.google.gson.internal.ConstructorConstructor
 
get(Object) - Method in class com.google.gson.internal.LinkedHashTreeMap
 
get(Object) - Method in class com.google.gson.internal.LinkedTreeMap
 
get(int) - Method in class com.google.gson.JsonArray
Returns the ith element of the array.
get(String) - Method in class com.google.gson.JsonObject
Returns the member with the specified name.
get(Type) - Static method in class com.google.gson.reflect.TypeToken
Gets type literal for the given Type instance.
get(Class<T>) - Static method in class com.google.gson.reflect.TypeToken
Gets type literal for the given Class instance.
getActualTypeArguments() - Method in class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 
getAdapter(TypeToken<T>) - Method in class com.google.gson.Gson
Returns the type adapter for type.
getAdapter(Class<T>) - Method in class com.google.gson.Gson
Returns the type adapter for type.
getAnnotation(Class<T>) - Method in class com.google.gson.FieldAttributes
Return the T annotation object from this field if it exist; otherwise returns null.
getAnnotations() - Method in class com.google.gson.FieldAttributes
Return the annotations that are present on this field.
getArray(Type) - Static method in class com.google.gson.reflect.TypeToken
Gets type literal for the array type whose elements are all instances of componentType.
getArrayComponentType(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns the component type of this array type.
getAsBigDecimal() - Method in class com.google.gson.JsonArray
convenience method to get this array as a BigDecimal if it contains a single element.
getAsBigDecimal() - Method in class com.google.gson.JsonElement
convenience method to get this element as a BigDecimal.
getAsBigDecimal() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a BigDecimal.
getAsBigInteger() - Method in class com.google.gson.JsonArray
convenience method to get this array as a BigInteger if it contains a single element.
getAsBigInteger() - Method in class com.google.gson.JsonElement
convenience method to get this element as a BigInteger.
getAsBigInteger() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a BigInteger.
getAsBoolean() - Method in class com.google.gson.JsonArray
convenience method to get this array as a boolean if it contains a single element.
getAsBoolean() - Method in class com.google.gson.JsonElement
convenience method to get this element as a boolean value.
getAsBoolean() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a boolean value.
getAsBooleanWrapper() - Method in class com.google.gson.JsonElement
convenience method to get this element as a Boolean value.
getAsBooleanWrapper() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a Boolean.
getAsByte() - Method in class com.google.gson.JsonArray
 
getAsByte() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive byte value.
getAsByte() - Method in class com.google.gson.JsonPrimitive
 
getAsCharacter() - Method in class com.google.gson.JsonArray
 
getAsCharacter() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive character value.
getAsCharacter() - Method in class com.google.gson.JsonPrimitive
 
getAsDouble() - Method in class com.google.gson.JsonArray
convenience method to get this array as a double if it contains a single element.
getAsDouble() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive double value.
getAsDouble() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a primitive double.
getAsFloat() - Method in class com.google.gson.JsonArray
convenience method to get this array as a float if it contains a single element.
getAsFloat() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive float value.
getAsFloat() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a float.
getAsInt() - Method in class com.google.gson.JsonArray
convenience method to get this array as an integer if it contains a single element.
getAsInt() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive integer value.
getAsInt() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a primitive integer.
getAsJsonArray() - Method in class com.google.gson.JsonElement
convenience method to get this element as a JsonArray.
getAsJsonArray(String) - Method in class com.google.gson.JsonObject
Convenience method to get the specified member as a JsonArray.
getAsJsonNull() - Method in class com.google.gson.JsonElement
convenience method to get this element as a JsonNull.
getAsJsonObject() - Method in class com.google.gson.JsonElement
convenience method to get this element as a JsonObject.
getAsJsonObject(String) - Method in class com.google.gson.JsonObject
Convenience method to get the specified member as a JsonObject.
getAsJsonPrimitive() - Method in class com.google.gson.JsonElement
convenience method to get this element as a JsonPrimitive.
getAsJsonPrimitive(String) - Method in class com.google.gson.JsonObject
Convenience method to get the specified member as a JsonPrimitive element.
getAsLong() - Method in class com.google.gson.JsonArray
convenience method to get this array as a long if it contains a single element.
getAsLong() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive long value.
getAsLong() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a primitive long.
getAsNumber() - Method in class com.google.gson.JsonArray
convenience method to get this array as a Number if it contains a single element.
getAsNumber() - Method in class com.google.gson.JsonElement
convenience method to get this element as a Number.
getAsNumber() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a Number.
getAsShort() - Method in class com.google.gson.JsonArray
convenience method to get this array as a primitive short if it contains a single element.
getAsShort() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive short value.
getAsShort() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a primitive short.
getAsString() - Method in class com.google.gson.JsonArray
convenience method to get this array as a String if it contains a single element.
getAsString() - Method in class com.google.gson.JsonElement
convenience method to get this element as a string value.
getAsString() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a String.
getBoundFields(Gson, TypeToken<?>, Class<?>) - Method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
 
getCollectionElementType(Type, Class<?>) - Static method in class com.google.gson.internal.$Gson$Types
Returns the element type of this collection type.
getDeclaredClass() - Method in class com.google.gson.FieldAttributes
Returns the Class object that was declared for this field.
getDeclaredType() - Method in class com.google.gson.FieldAttributes
For example, assume the following class definition:
 public class Foo {
   private String bar;
   private List<String> red;
 }

 Type listParameterizedType = new TypeToken<List<String>>() {}.getType();
getDeclaringClass() - Method in class com.google.gson.FieldAttributes
 
getDelegateAdapter(TypeAdapterFactory, TypeToken<T>) - Method in class com.google.gson.Gson
This method is used to get an alternate type adapter for the specified type.
getFieldNames(Field) - Method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
first element holds the default name
getGenericComponentType() - Method in class com.google.gson.internal.$Gson$Types.GenericArrayTypeImpl
 
getGenericSupertype(Type, Class<?>, Class<?>) - Static method in class com.google.gson.internal.$Gson$Types
Returns the generic supertype for supertype.
getKey() - Method in class com.google.gson.internal.LinkedHashTreeMap.Node
 
getKey() - Method in class com.google.gson.internal.LinkedTreeMap.Node
 
getKeyAdapter(Gson, Type) - Method in class com.google.gson.internal.bind.MapTypeAdapterFactory
Returns a type adapter that writes the value as a string.
getLowerBounds() - Method in class com.google.gson.internal.$Gson$Types.WildcardTypeImpl
 
getMapKeyAndValueTypes(Type, Class<?>) - Static method in class com.google.gson.internal.$Gson$Types
Returns a two element array containing this map's key and value types in positions 0 and 1 respectively.
getName() - Method in class com.google.gson.FieldAttributes
 
getOwnerType() - Method in class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 
getParameterized(Type, Type...) - Static method in class com.google.gson.reflect.TypeToken
Gets type literal for the parameterized type represented by applying typeArguments to rawType.
getPath() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
getPath() - Method in class com.google.gson.stream.JsonReader
Returns a JsonPath to the current location in the JSON value.
getRawType(Type) - Static method in class com.google.gson.internal.$Gson$Types
 
getRawType() - Method in class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 
getRawType() - Method in class com.google.gson.reflect.TypeToken
Returns the raw (non-generic) type for this type.
getRuntimeTypeIfMoreSpecific(Type, Object) - Method in class com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper
Finds a compatible runtime type if it is more specific
getSerializeNulls() - Method in class com.google.gson.stream.JsonWriter
Returns true if object members are serialized when their value is null.
getSuperclassTypeParameter(Class<?>) - Static method in class com.google.gson.reflect.TypeToken
Returns the type from super class's type parameter in canonical form.
getSupertype(Type, Class<?>, Class<?>) - Static method in class com.google.gson.internal.$Gson$Types
Returns the generic form of supertype.
getType() - Method in class com.google.gson.reflect.TypeToken
Gets underlying Type instance.
getTypeAdapter(ConstructorConstructor, Gson, TypeToken<?>, JsonAdapter) - Method in class com.google.gson.internal.bind.JsonAdapterAnnotationTypeAdapterFactory
 
getUpperBounds() - Method in class com.google.gson.internal.$Gson$Types.WildcardTypeImpl
 
getValue() - Method in class com.google.gson.internal.LinkedHashTreeMap.Node
 
getValue() - Method in class com.google.gson.internal.LinkedTreeMap.Node
 
Gson - Class in com.google.gson
This is the main class for using Gson.
Gson() - Constructor for class com.google.gson.Gson
Constructs a Gson object with default configuration.
Gson(Excluder, FieldNamingStrategy, Map<Type, InstanceCreator<?>>, boolean, boolean, boolean, boolean, boolean, boolean, boolean, LongSerializationPolicy, List<TypeAdapterFactory>) - Constructor for class com.google.gson.Gson
 
gson - Variable in class com.google.gson.internal.bind.ObjectTypeAdapter
 
gson - Variable in class com.google.gson.internal.bind.TreeTypeAdapter
 
Gson.FutureTypeAdapter<T> - Class in com.google.gson
 
GsonBuilder - Class in com.google.gson
Use this builder to construct a Gson instance when you need to set configuration options other than the default.
GsonBuilder() - Constructor for class com.google.gson.GsonBuilder
Creates a GsonBuilder instance that can be used to build Gson with various configuration settings.
GsonContextImpl() - Constructor for class com.google.gson.internal.bind.TreeTypeAdapter.GsonContextImpl
 

H

has(String) - Method in class com.google.gson.JsonObject
Convenience method to check if a member with the specified name is present in this object.
hash - Variable in class com.google.gson.internal.LinkedHashTreeMap.Node
 
hashCode() - Method in class com.google.gson.internal.$Gson$Types.GenericArrayTypeImpl
 
hashCode() - Method in class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 
hashCode() - Method in class com.google.gson.internal.$Gson$Types.WildcardTypeImpl
 
hashCode() - Method in class com.google.gson.internal.LazilyParsedNumber
 
hashCode() - Method in class com.google.gson.internal.LinkedHashTreeMap.Node
 
hashCode() - Method in class com.google.gson.internal.LinkedTreeMap.Node
 
hashCode() - Method in class com.google.gson.JsonArray
 
hashCode() - Method in class com.google.gson.JsonNull
All instances of JsonNull have the same hash code since they are indistinguishable
hashCode() - Method in class com.google.gson.JsonObject
 
hashCode() - Method in class com.google.gson.JsonPrimitive
 
hashCode - Variable in class com.google.gson.reflect.TypeToken
 
hashCode() - Method in class com.google.gson.reflect.TypeToken
 
hashCodeOrZero(Object) - Static method in class com.google.gson.internal.$Gson$Types
 
hasModifier(int) - Method in class com.google.gson.FieldAttributes
Returns true if the field is defined with the modifier.
hasNext() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
hasNext() - Method in class com.google.gson.internal.LinkedHashTreeMap.LinkedTreeMapIterator
 
hasNext() - Method in class com.google.gson.internal.LinkedTreeMap.LinkedTreeMapIterator
 
hasNext() - Method in class com.google.gson.JsonStreamParser
Returns true if a JsonElement is available on the input for consumption
hasNext() - Method in class com.google.gson.stream.JsonReader
Returns true if the current array or object has another element.
header - Variable in class com.google.gson.internal.LinkedHashTreeMap
 
header - Variable in class com.google.gson.internal.LinkedTreeMap
 
height - Variable in class com.google.gson.internal.LinkedHashTreeMap.Node
 
height - Variable in class com.google.gson.internal.LinkedTreeMap.Node
 
hierarchyFactories - Variable in class com.google.gson.GsonBuilder
tree-style hierarchy factories.
hierarchyType - Variable in class com.google.gson.internal.bind.TreeTypeAdapter.SingleTypeFactory
 
HTML_SAFE_REPLACEMENT_CHARS - Static variable in class com.google.gson.stream.JsonWriter
 
htmlSafe - Variable in class com.google.gson.Gson
 
htmlSafe() - Method in class com.google.gson.Gson
 
htmlSafe - Variable in class com.google.gson.stream.JsonWriter
 

I

IGNORE_VERSIONS - Static variable in class com.google.gson.internal.Excluder
 
in - Variable in class com.google.gson.stream.JsonReader
The input JSON.
indent - Variable in class com.google.gson.stream.JsonWriter
A string containing a full set of spaces for a single level of indentation, or null for no pretty printing.
indexOf(Object[], Object) - Static method in class com.google.gson.internal.$Gson$Types
 
indexOfNonDigit(String, int) - Static method in class com.google.gson.internal.bind.util.ISO8601Utils
Returns the index of the first character in the string that is not a digit, starting at offset.
INET_ADDRESS - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
INET_ADDRESS_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
INSTANCE - Static variable in class com.google.gson.internal.JsonReaderInternalAccess
 
INSTANCE - Static variable in class com.google.gson.JsonNull
singleton for JsonNull
InstanceCreator<T> - Interface in com.google.gson
This interface is implemented to create instances of a class that does not define a no-args constructor.
instanceCreators - Variable in class com.google.gson.GsonBuilder
 
instanceCreators - Variable in class com.google.gson.internal.ConstructorConstructor
 
INTEGER - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
INTEGER_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
intValue() - Method in class com.google.gson.internal.LazilyParsedNumber
 
isAnonymousOrLocal(Class<?>) - Method in class com.google.gson.internal.Excluder
 
isAssignableFrom(Class<?>) - Method in class com.google.gson.reflect.TypeToken
Deprecated.
this implementation may be inconsistent with javac for types with wildcards.
isAssignableFrom(Type) - Method in class com.google.gson.reflect.TypeToken
Deprecated.
this implementation may be inconsistent with javac for types with wildcards.
isAssignableFrom(TypeToken<?>) - Method in class com.google.gson.reflect.TypeToken
Deprecated.
this implementation may be inconsistent with javac for types with wildcards.
isAssignableFrom(Type, GenericArrayType) - Static method in class com.google.gson.reflect.TypeToken
Private helper function that performs some assignability checks for the provided GenericArrayType.
isAssignableFrom(Type, ParameterizedType, Map<String, Type>) - Static method in class com.google.gson.reflect.TypeToken
Private recursive helper function to actually do the type-safe checking of assignability.
isBoolean() - Method in class com.google.gson.JsonPrimitive
Check whether this primitive contains a boolean value.
isHtmlSafe() - Method in class com.google.gson.stream.JsonWriter
Returns true if this writer writes JSON that's safe for inclusion in HTML and XML documents.
isInnerClass(Class<?>) - Method in class com.google.gson.internal.Excluder
 
isIntegral(JsonPrimitive) - Static method in class com.google.gson.JsonPrimitive
Returns true if the specified number is an integral type (Long, Integer, Short, Byte, BigInteger)
isJsonArray() - Method in class com.google.gson.JsonElement
provides check for verifying if this element is an array or not.
isJsonNull() - Method in class com.google.gson.JsonElement
provides check for verifying if this element represents a null value or not.
isJsonObject() - Method in class com.google.gson.JsonElement
provides check for verifying if this element is a Json object or not.
isJsonPrimitive() - Method in class com.google.gson.JsonElement
provides check for verifying if this element is a primitive or not.
isLenient() - Method in class com.google.gson.stream.JsonReader
Returns true if this parser is liberal in what it accepts.
isLenient() - Method in class com.google.gson.stream.JsonWriter
Returns true if this writer has relaxed syntax rules.
isLiteral(char) - Method in class com.google.gson.stream.JsonReader
 
isNumber() - Method in class com.google.gson.JsonPrimitive
Check whether this primitive contains a Number.
ISO8601Utils - Class in com.google.gson.internal.bind.util
Utilities methods for manipulating dates in iso8601 format.
ISO8601Utils() - Constructor for class com.google.gson.internal.bind.util.ISO8601Utils
 
isPrimitive(Type) - Static method in class com.google.gson.internal.Primitives
Returns true if this type is a primitive.
isPrimitiveOrString(Object) - Static method in class com.google.gson.JsonPrimitive
 
isStatic(Class<?>) - Method in class com.google.gson.internal.Excluder
 
isString() - Method in class com.google.gson.JsonPrimitive
Check whether this primitive contains a String value.
isSynthetic() - Method in class com.google.gson.FieldAttributes
This is exposed internally only for the removing synthetic fields from the JSON output.
isValidSince(Since) - Method in class com.google.gson.internal.Excluder
 
isValidUntil(Until) - Method in class com.google.gson.internal.Excluder
 
isValidVersion(Since, Until) - Method in class com.google.gson.internal.Excluder
 
isWrapperType(Type) - Static method in class com.google.gson.internal.Primitives
Returns true if type is one of the nine primitive-wrapper types, such as Integer.
iterator() - Method in class com.google.gson.internal.LinkedHashTreeMap.EntrySet
 
iterator() - Method in class com.google.gson.internal.LinkedHashTreeMap.KeySet
 
iterator() - Method in class com.google.gson.internal.LinkedTreeMap.EntrySet
 
iterator() - Method in class com.google.gson.internal.LinkedTreeMap.KeySet
 
iterator() - Method in class com.google.gson.JsonArray
Returns an iterator to navigate the elements of the array.

J

JSON_ELEMENT - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
JSON_ELEMENT_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
JSON_NON_EXECUTABLE_PREFIX - Static variable in class com.google.gson.Gson
 
JsonAdapter - Annotation Type in com.google.gson.annotations
An annotation that indicates the Gson TypeAdapter to use with a class or field.
JsonAdapterAnnotationTypeAdapterFactory - Class in com.google.gson.internal.bind
Given a type T, looks for the annotation JsonAdapter and uses an instance of the specified class as the default type adapter.
JsonAdapterAnnotationTypeAdapterFactory(ConstructorConstructor) - Constructor for class com.google.gson.internal.bind.JsonAdapterAnnotationTypeAdapterFactory
 
jsonAdapterFactory - Variable in class com.google.gson.Gson
 
jsonAdapterFactory - Variable in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
 
JsonArray - Class in com.google.gson
A class representing an array type in Json.
JsonArray() - Constructor for class com.google.gson.JsonArray
Creates an empty JsonArray.
JsonArray(int) - Constructor for class com.google.gson.JsonArray
 
JsonDeserializationContext - Interface in com.google.gson
Context for deserialization that is passed to a custom deserializer during invocation of its JsonDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext) method.
JsonDeserializer<T> - Interface in com.google.gson
Interface representing a custom deserializer for Json.
JsonElement - Class in com.google.gson
A class representing an element of Json.
JsonElement() - Constructor for class com.google.gson.JsonElement
 
JsonIOException - Exception in com.google.gson
This exception is raised when Gson was unable to read an input stream or write to one.
JsonIOException(String) - Constructor for exception com.google.gson.JsonIOException
 
JsonIOException(String, Throwable) - Constructor for exception com.google.gson.JsonIOException
 
JsonIOException(Throwable) - Constructor for exception com.google.gson.JsonIOException
Creates exception with the specified cause.
JsonNull - Class in com.google.gson
A class representing a Json null value.
JsonNull() - Constructor for class com.google.gson.JsonNull
Deprecated.
JsonObject - Class in com.google.gson
A class representing an object type in Json.
JsonObject() - Constructor for class com.google.gson.JsonObject
 
JsonParseException - Exception in com.google.gson
This exception is raised if there is a serious issue that occurs during parsing of a Json string.
JsonParseException(String) - Constructor for exception com.google.gson.JsonParseException
Creates exception with the specified message.
JsonParseException(String, Throwable) - Constructor for exception com.google.gson.JsonParseException
Creates exception with the specified message and cause.
JsonParseException(Throwable) - Constructor for exception com.google.gson.JsonParseException
Creates exception with the specified cause.
JsonParser - Class in com.google.gson
A parser to parse Json into a parse tree of JsonElements
JsonParser() - Constructor for class com.google.gson.JsonParser
 
JsonPrimitive - Class in com.google.gson
A class representing a Json primitive value.
JsonPrimitive(Boolean) - Constructor for class com.google.gson.JsonPrimitive
Create a primitive containing a boolean value.
JsonPrimitive(Number) - Constructor for class com.google.gson.JsonPrimitive
Create a primitive containing a Number.
JsonPrimitive(String) - Constructor for class com.google.gson.JsonPrimitive
Create a primitive containing a String value.
JsonPrimitive(Character) - Constructor for class com.google.gson.JsonPrimitive
Create a primitive containing a character.
JsonPrimitive(Object) - Constructor for class com.google.gson.JsonPrimitive
Create a primitive using the specified Object.
JsonReader - Class in com.google.gson.stream
Reads a JSON (RFC 7159) encoded value as a stream of tokens.
JsonReader(Reader) - Constructor for class com.google.gson.stream.JsonReader
Creates a new instance that reads a JSON-encoded stream from in.
JsonReaderInternalAccess - Class in com.google.gson.internal
Internal-only APIs of JsonReader available only to other classes in Gson.
JsonReaderInternalAccess() - Constructor for class com.google.gson.internal.JsonReaderInternalAccess
 
JsonScope - Class in com.google.gson.stream
Lexical scoping elements within a JSON reader or writer.
JsonScope() - Constructor for class com.google.gson.stream.JsonScope
 
JsonSerializationContext - Interface in com.google.gson
Context for serialization that is passed to a custom serializer during invocation of its serialize(Object, Type, JsonSerializationContext) method.
JsonSerializer<T> - Interface in com.google.gson
Interface representing a custom serializer for Json.
JsonStreamParser - Class in com.google.gson
A streaming parser that allows reading of multiple JsonElements from the specified reader asynchronously.
JsonStreamParser(String) - Constructor for class com.google.gson.JsonStreamParser
 
JsonStreamParser(Reader) - Constructor for class com.google.gson.JsonStreamParser
 
JsonSyntaxException - Exception in com.google.gson
This exception is raised when Gson attempts to read (or write) a malformed JSON element.
JsonSyntaxException(String) - Constructor for exception com.google.gson.JsonSyntaxException
 
JsonSyntaxException(String, Throwable) - Constructor for exception com.google.gson.JsonSyntaxException
 
JsonSyntaxException(Throwable) - Constructor for exception com.google.gson.JsonSyntaxException
Creates exception with the specified cause.
JsonToken - Enum in com.google.gson.stream
A structure, name or value type in a JSON-encoded string.
JsonToken() - Constructor for enum com.google.gson.stream.JsonToken
 
JsonTreeReader - Class in com.google.gson.internal.bind
This reader walks the elements of a JsonElement as if it was coming from a character stream.
JsonTreeReader(JsonElement) - Constructor for class com.google.gson.internal.bind.JsonTreeReader
 
JsonTreeWriter - Class in com.google.gson.internal.bind
This writer creates a JsonElement.
JsonTreeWriter() - Constructor for class com.google.gson.internal.bind.JsonTreeWriter
 
jsonValue(String) - Method in class com.google.gson.stream.JsonWriter
Writes value directly to the writer without quoting or escaping.
JsonWriter - Class in com.google.gson.stream
Writes a JSON (RFC 7159) encoded value to a stream, one token at a time.
JsonWriter(Writer) - Constructor for class com.google.gson.stream.JsonWriter
Creates a new instance that writes a JSON-encoded stream to out.

K

key - Variable in class com.google.gson.internal.LinkedHashTreeMap.Node
 
key - Variable in class com.google.gson.internal.LinkedTreeMap.Node
 
keySet - Variable in class com.google.gson.internal.LinkedHashTreeMap
 
keySet() - Method in class com.google.gson.internal.LinkedHashTreeMap
 
KeySet() - Constructor for class com.google.gson.internal.LinkedHashTreeMap.KeySet
 
keySet - Variable in class com.google.gson.internal.LinkedTreeMap
 
keySet() - Method in class com.google.gson.internal.LinkedTreeMap
 
KeySet() - Constructor for class com.google.gson.internal.LinkedTreeMap.KeySet
 
keySet() - Method in class com.google.gson.JsonObject
Returns a set of members key values.
keyToString(JsonElement) - Method in class com.google.gson.internal.bind.MapTypeAdapterFactory.Adapter
 
keyTypeAdapter - Variable in class com.google.gson.internal.bind.MapTypeAdapterFactory.Adapter
 

L

last() - Method in class com.google.gson.internal.LinkedHashTreeMap.Node
Returns the last node in this subtree.
last() - Method in class com.google.gson.internal.LinkedTreeMap.Node
Returns the last node in this subtree.
lastReturned - Variable in class com.google.gson.internal.LinkedHashTreeMap.LinkedTreeMapIterator
 
lastReturned - Variable in class com.google.gson.internal.LinkedTreeMap.LinkedTreeMapIterator
 
LazilyParsedNumber - Class in com.google.gson.internal
This class holds a number value that is lazily converted to a specific number type
LazilyParsedNumber(String) - Constructor for class com.google.gson.internal.LazilyParsedNumber
 
leavesSkipped - Variable in class com.google.gson.internal.LinkedHashTreeMap.AvlBuilder
 
leavesToSkip - Variable in class com.google.gson.internal.LinkedHashTreeMap.AvlBuilder
 
left - Variable in class com.google.gson.internal.LinkedHashTreeMap.Node
 
left - Variable in class com.google.gson.internal.LinkedTreeMap.Node
 
length() - Method in class com.google.gson.internal.Streams.AppendableWriter.CurrentWrite
 
lenient - Variable in class com.google.gson.Gson
 
lenient - Variable in class com.google.gson.GsonBuilder
 
lenient - Variable in class com.google.gson.stream.JsonReader
True to accept non-spec compliant JSON
lenient - Variable in class com.google.gson.stream.JsonWriter
 
limit - Variable in class com.google.gson.stream.JsonReader
 
lineNumber - Variable in class com.google.gson.stream.JsonReader
 
lineStart - Variable in class com.google.gson.stream.JsonReader
 
LinkedHashTreeMap<K,V> - Class in com.google.gson.internal
A map of comparable keys to values.
LinkedHashTreeMap() - Constructor for class com.google.gson.internal.LinkedHashTreeMap
Create a natural order, empty tree map whose keys must be mutually comparable and non-null.
LinkedHashTreeMap(Comparator<? super K>) - Constructor for class com.google.gson.internal.LinkedHashTreeMap
Create a tree map ordered by comparator.
LinkedHashTreeMap.AvlBuilder<K,V> - Class in com.google.gson.internal
Builds AVL trees of a predetermined size by accepting nodes of increasing value.
LinkedHashTreeMap.AvlIterator<K,V> - Class in com.google.gson.internal
Walks an AVL tree in iteration order.
LinkedHashTreeMap.EntrySet - Class in com.google.gson.internal
 
LinkedHashTreeMap.KeySet - Class in com.google.gson.internal
 
LinkedHashTreeMap.LinkedTreeMapIterator<T> - Class in com.google.gson.internal
 
LinkedHashTreeMap.Node<K,V> - Class in com.google.gson.internal
 
LinkedTreeMap<K,V> - Class in com.google.gson.internal
A map of comparable keys to values.
LinkedTreeMap() - Constructor for class com.google.gson.internal.LinkedTreeMap
Create a natural order, empty tree map whose keys must be mutually comparable and non-null.
LinkedTreeMap(Comparator<? super K>) - Constructor for class com.google.gson.internal.LinkedTreeMap
Create a tree map ordered by comparator.
LinkedTreeMap.EntrySet - Class in com.google.gson.internal
 
LinkedTreeMap.KeySet - Class in com.google.gson.internal
 
LinkedTreeMap.LinkedTreeMapIterator<T> - Class in com.google.gson.internal
 
LinkedTreeMap.Node<K,V> - Class in com.google.gson.internal
 
LinkedTreeMapIterator() - Constructor for class com.google.gson.internal.LinkedHashTreeMap.LinkedTreeMapIterator
 
LinkedTreeMapIterator() - Constructor for class com.google.gson.internal.LinkedTreeMap.LinkedTreeMapIterator
 
LOCALE - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
LOCALE_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
localFormat - Variable in class com.google.gson.DefaultDateTypeAdapter
 
localFormat - Variable in class com.google.gson.internal.bind.DateTypeAdapter
 
locationString() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
locationString() - Method in class com.google.gson.stream.JsonReader
 
lock - Variable in class com.google.gson.JsonStreamParser
 
LONG - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
longAdapter(LongSerializationPolicy) - Static method in class com.google.gson.Gson
 
longSerializationPolicy - Variable in class com.google.gson.GsonBuilder
 
LongSerializationPolicy - Enum in com.google.gson
Defines the expected format for a long or Long type when its serialized.
LongSerializationPolicy() - Constructor for enum com.google.gson.LongSerializationPolicy
 
longValue() - Method in class com.google.gson.internal.LazilyParsedNumber
 
lowerBound - Variable in class com.google.gson.internal.$Gson$Types.WildcardTypeImpl
 

M

MalformedJsonException - Exception in com.google.gson.stream
Thrown when a reader encounters malformed JSON.
MalformedJsonException(String) - Constructor for exception com.google.gson.stream.MalformedJsonException
 
MalformedJsonException(String, Throwable) - Constructor for exception com.google.gson.stream.MalformedJsonException
 
MalformedJsonException(Throwable) - Constructor for exception com.google.gson.stream.MalformedJsonException
 
MapTypeAdapterFactory - Class in com.google.gson.internal.bind
Adapts maps to either JSON objects or JSON arrays.
MapTypeAdapterFactory(ConstructorConstructor, boolean) - Constructor for class com.google.gson.internal.bind.MapTypeAdapterFactory
 
MapTypeAdapterFactory.Adapter<K,V> - Class in com.google.gson.internal.bind
 
matches(Type, Type, Map<String, Type>) - Static method in class com.google.gson.reflect.TypeToken
Checks if two types are the same or are equivalent under a variable mapping given in the type map that was provided.
matchRawType - Variable in class com.google.gson.internal.bind.TreeTypeAdapter.SingleTypeFactory
 
members - Variable in class com.google.gson.JsonObject
 
MIN_INCOMPLETE_INTEGER - Static variable in class com.google.gson.stream.JsonReader
 
modCount - Variable in class com.google.gson.internal.LinkedHashTreeMap
 
modCount - Variable in class com.google.gson.internal.LinkedTreeMap
 
modifiers - Variable in class com.google.gson.internal.Excluder
 
modifyString(char, String, int) - Static method in enum com.google.gson.FieldNamingPolicy
 

N

name(String) - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
name - Variable in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.BoundField
 
name(String) - Method in class com.google.gson.stream.JsonWriter
Encodes the property name.
nameToConstant - Variable in class com.google.gson.internal.bind.TypeAdapters.EnumTypeAdapter
 
NATURAL_ORDER - Static variable in class com.google.gson.internal.LinkedHashTreeMap
 
NATURAL_ORDER - Static variable in class com.google.gson.internal.LinkedTreeMap
 
newDefaultConstructor(Class<? super T>) - Method in class com.google.gson.internal.ConstructorConstructor
 
newDefaultImplementationConstructor(Type, Class<? super T>) - Method in class com.google.gson.internal.ConstructorConstructor
Constructors for common interface types like Map and List and their subtypes.
newFactory(TypeToken<?>, Object) - Static method in class com.google.gson.internal.bind.TreeTypeAdapter
Returns a new factory that will match each type against exactType.
newFactory(TypeToken<TT>, TypeAdapter<TT>) - Static method in class com.google.gson.internal.bind.TypeAdapters
 
newFactory(Class<TT>, TypeAdapter<TT>) - Static method in class com.google.gson.internal.bind.TypeAdapters
 
newFactory(Class<TT>, Class<TT>, TypeAdapter<? super TT>) - Static method in class com.google.gson.internal.bind.TypeAdapters
 
newFactoryForMultipleTypes(Class<TT>, Class<? extends TT>, TypeAdapter<? super TT>) - Static method in class com.google.gson.internal.bind.TypeAdapters
 
newFactoryWithMatchRawType(TypeToken<?>, Object) - Static method in class com.google.gson.internal.bind.TreeTypeAdapter
Returns a new factory that will match each type and its raw type against exactType.
newInstance(Class<T>) - Method in class com.google.gson.internal.UnsafeAllocator
 
newJsonReader(Reader) - Method in class com.google.gson.Gson
Returns a new JSON reader configured for the settings on this Gson instance.
newJsonWriter(Writer) - Method in class com.google.gson.Gson
Returns a new JSON writer configured for the settings on this Gson instance.
newline() - Method in class com.google.gson.stream.JsonWriter
 
newParameterizedTypeWithOwner(Type, Type, Type...) - Static method in class com.google.gson.internal.$Gson$Types
Returns a new parameterized type, applying typeArguments to rawType and enclosed by ownerType.
newTypeHierarchyFactory(Class<?>, Object) - Static method in class com.google.gson.internal.bind.TreeTypeAdapter
Returns a new factory that will match each type's raw type for assignability to hierarchyType.
newTypeHierarchyFactory(Class<T1>, TypeAdapter<T1>) - Static method in class com.google.gson.internal.bind.TypeAdapters
Returns a factory for all subtypes of typeAdapter.
newUnsafeAllocator(Type, Class<? super T>) - Method in class com.google.gson.internal.ConstructorConstructor
 
next() - Method in class com.google.gson.internal.LinkedHashTreeMap.AvlIterator
 
next - Variable in class com.google.gson.internal.LinkedHashTreeMap.LinkedTreeMapIterator
 
next - Variable in class com.google.gson.internal.LinkedHashTreeMap.Node
 
next - Variable in class com.google.gson.internal.LinkedTreeMap.LinkedTreeMapIterator
 
next - Variable in class com.google.gson.internal.LinkedTreeMap.Node
 
next() - Method in class com.google.gson.JsonStreamParser
Returns the next available JsonElement on the reader.
nextBoolean() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
nextBoolean() - Method in class com.google.gson.stream.JsonReader
Returns the boolean value of the next token, consuming it.
nextDouble() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
nextDouble() - Method in class com.google.gson.stream.JsonReader
Returns the double value of the next token, consuming it.
nextInt() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
nextInt() - Method in class com.google.gson.stream.JsonReader
Returns the int value of the next token, consuming it.
nextLong() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
nextLong() - Method in class com.google.gson.stream.JsonReader
Returns the long value of the next token, consuming it.
nextName() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
nextName() - Method in class com.google.gson.stream.JsonReader
Returns the next token, a property name, and consumes it.
nextNode() - Method in class com.google.gson.internal.LinkedHashTreeMap.LinkedTreeMapIterator
 
nextNode() - Method in class com.google.gson.internal.LinkedTreeMap.LinkedTreeMapIterator
 
nextNonWhitespace(boolean) - Method in class com.google.gson.stream.JsonReader
Returns the next character in the stream that is neither whitespace nor a part of a comment.
nextNull() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
nextNull() - Method in class com.google.gson.stream.JsonReader
Consumes the next token from the JSON stream and asserts that it is a literal null.
nextQuotedValue(char) - Method in class com.google.gson.stream.JsonReader
Returns the string up to but not including quote, unescaping any character escape sequences encountered along the way.
nextString() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
nextString() - Method in class com.google.gson.stream.JsonReader
Returns the string value of the next token, consuming it.
nextUnquotedValue() - Method in class com.google.gson.stream.JsonReader
Returns an unquoted value as a string.
Node() - Constructor for class com.google.gson.internal.LinkedHashTreeMap.Node
Create the header entry
Node(LinkedHashTreeMap.Node<K, V>, K, int, LinkedHashTreeMap.Node<K, V>, LinkedHashTreeMap.Node<K, V>) - Constructor for class com.google.gson.internal.LinkedHashTreeMap.Node
Create a regular entry
Node() - Constructor for class com.google.gson.internal.LinkedTreeMap.Node
Create the header entry
Node(LinkedTreeMap.Node<K, V>, K, LinkedTreeMap.Node<K, V>, LinkedTreeMap.Node<K, V>) - Constructor for class com.google.gson.internal.LinkedTreeMap.Node
Create a regular entry
NON_EXECUTE_PREFIX - Static variable in class com.google.gson.stream.JsonReader
The only non-execute prefix this parser permits
NONEMPTY_ARRAY - Static variable in class com.google.gson.stream.JsonScope
A array with at least one value requires a comma and newline before the next element.
NONEMPTY_DOCUMENT - Static variable in class com.google.gson.stream.JsonScope
A document with at an array or object.
NONEMPTY_OBJECT - Static variable in class com.google.gson.stream.JsonScope
An object with at least one name/value pair requires a comma and newline before the next element.
NULL_KEY_SURROGATE - Static variable in class com.google.gson.Gson
 
nullSafe() - Method in class com.google.gson.TypeAdapter
This wrapper method is used to make a type adapter null tolerant.
nullValue() - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
nullValue() - Method in class com.google.gson.stream.JsonWriter
Encodes null.
NUMBER - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
NUMBER_CHAR_DECIMAL - Static variable in class com.google.gson.stream.JsonReader
 
NUMBER_CHAR_DIGIT - Static variable in class com.google.gson.stream.JsonReader
 
NUMBER_CHAR_EXP_DIGIT - Static variable in class com.google.gson.stream.JsonReader
 
NUMBER_CHAR_EXP_E - Static variable in class com.google.gson.stream.JsonReader
 
NUMBER_CHAR_EXP_SIGN - Static variable in class com.google.gson.stream.JsonReader
 
NUMBER_CHAR_FRACTION_DIGIT - Static variable in class com.google.gson.stream.JsonReader
 
NUMBER_CHAR_NONE - Static variable in class com.google.gson.stream.JsonReader
 
NUMBER_CHAR_SIGN - Static variable in class com.google.gson.stream.JsonReader
 
NUMBER_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 

O

ObjectConstructor<T> - Interface in com.google.gson.internal
Defines a generic object construction factory.
ObjectTypeAdapter - Class in com.google.gson.internal.bind
Adapts types whose static type is only 'Object'.
ObjectTypeAdapter(Gson) - Constructor for class com.google.gson.internal.bind.ObjectTypeAdapter
 
open(int, String) - Method in class com.google.gson.stream.JsonWriter
Enters a new scope by appending any necessary whitespace and the given bracket.
out - Variable in class com.google.gson.stream.JsonWriter
The output data, containing at most one top-level array or object.
ownerType - Variable in class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 

P

padInt(StringBuilder, int, int) - Static method in class com.google.gson.internal.bind.util.ISO8601Utils
Zero pad a number to a specified length
ParameterizedTypeImpl(Type, Type, Type...) - Constructor for class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 
parent - Variable in class com.google.gson.internal.LinkedHashTreeMap.Node
 
parent - Variable in class com.google.gson.internal.LinkedTreeMap.Node
 
parse(String, ParsePosition) - Static method in class com.google.gson.internal.bind.util.ISO8601Utils
Parse a date from ISO-8601 formatted string.
parse(JsonReader) - Static method in class com.google.gson.internal.Streams
Takes a reader in any state and returns the next value as a JsonElement.
parse(String) - Method in class com.google.gson.JsonParser
Parses the specified JSON string into a parse tree
parse(Reader) - Method in class com.google.gson.JsonParser
Parses the specified JSON string into a parse tree
parse(JsonReader) - Method in class com.google.gson.JsonParser
Returns the next value from the JSON stream as a parse tree.
parseInt(String, int, int) - Static method in class com.google.gson.internal.bind.util.ISO8601Utils
Parse an integer located between 2 given offsets in a string
parser - Variable in class com.google.gson.JsonStreamParser
 
pathIndices - Variable in class com.google.gson.internal.bind.JsonTreeReader
 
pathIndices - Variable in class com.google.gson.stream.JsonReader
 
pathNames - Variable in class com.google.gson.internal.bind.JsonTreeReader
 
pathNames - Variable in class com.google.gson.stream.JsonReader
 
peek() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
peek() - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
peek() - Method in class com.google.gson.stream.JsonReader
Returns the type of the next token without consuming it.
peek() - Method in class com.google.gson.stream.JsonWriter
Returns the value on the top of the stack.
peeked - Variable in class com.google.gson.stream.JsonReader
 
PEEKED_BEGIN_ARRAY - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_BEGIN_OBJECT - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_BUFFERED - Static variable in class com.google.gson.stream.JsonReader
When this is returned, the string value is stored in peekedString.
PEEKED_DOUBLE_QUOTED - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_DOUBLE_QUOTED_NAME - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_END_ARRAY - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_END_OBJECT - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_EOF - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_FALSE - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_LONG - Static variable in class com.google.gson.stream.JsonReader
When this is returned, the integer value is stored in peekedLong.
PEEKED_NONE - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_NULL - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_NUMBER - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_SINGLE_QUOTED - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_SINGLE_QUOTED_NAME - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_TRUE - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_UNQUOTED - Static variable in class com.google.gson.stream.JsonReader
 
PEEKED_UNQUOTED_NAME - Static variable in class com.google.gson.stream.JsonReader
 
peekedLong - Variable in class com.google.gson.stream.JsonReader
A peeked value that was composed entirely of digits with an optional leading dash.
peekedNumberLength - Variable in class com.google.gson.stream.JsonReader
The number of characters in a peeked number literal.
peekedString - Variable in class com.google.gson.stream.JsonReader
A peeked string that should be parsed on the next double, long or string.
peekKeyword() - Method in class com.google.gson.stream.JsonReader
 
peekNumber() - Method in class com.google.gson.stream.JsonReader
 
peekStack() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
pendingName - Variable in class com.google.gson.internal.bind.JsonTreeWriter
The name for the next JSON object value.
popStack() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
pos - Variable in class com.google.gson.stream.JsonReader
 
prettyPrinting - Variable in class com.google.gson.Gson
 
prettyPrinting - Variable in class com.google.gson.GsonBuilder
 
prev - Variable in class com.google.gson.internal.LinkedHashTreeMap.Node
 
prev - Variable in class com.google.gson.internal.LinkedTreeMap.Node
 
PRIMITIVE_TO_WRAPPER_TYPE - Static variable in class com.google.gson.internal.Primitives
A map from primitive types to their corresponding wrapper types.
PRIMITIVE_TYPES - Static variable in class com.google.gson.JsonPrimitive
 
Primitives - Class in com.google.gson.internal
Contains static utility methods pertaining to primitive types and their corresponding wrapper types.
Primitives() - Constructor for class com.google.gson.internal.Primitives
 
product - Variable in class com.google.gson.internal.bind.JsonTreeWriter
the JSON element constructed by this writer.
promoteNameToValue() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
promoteNameToValue(JsonReader) - Method in class com.google.gson.internal.JsonReaderInternalAccess
Changes the type of the current property name token to a string value.
push(Object) - Method in class com.google.gson.internal.bind.JsonTreeReader
 
push(int) - Method in class com.google.gson.stream.JsonReader
 
push(int) - Method in class com.google.gson.stream.JsonWriter
 
put(JsonElement) - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
put(K, V) - Method in class com.google.gson.internal.LinkedHashTreeMap
 
put(K, V) - Method in class com.google.gson.internal.LinkedTreeMap
 

R

rawType - Variable in class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 
rawType - Variable in class com.google.gson.reflect.TypeToken
 
read(JsonReader) - Method in class com.google.gson.DefaultDateTypeAdapter
 
read(JsonReader) - Method in class com.google.gson.Gson.FutureTypeAdapter
 
read(JsonReader) - Method in class com.google.gson.internal.bind.ArrayTypeAdapter
 
read(JsonReader) - Method in class com.google.gson.internal.bind.CollectionTypeAdapterFactory.Adapter
 
read(JsonReader) - Method in class com.google.gson.internal.bind.DateTypeAdapter
 
read(JsonReader) - Method in class com.google.gson.internal.bind.MapTypeAdapterFactory.Adapter
 
read(JsonReader) - Method in class com.google.gson.internal.bind.ObjectTypeAdapter
 
read(JsonReader) - Method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.Adapter
 
read(JsonReader, Object) - Method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.BoundField
 
read(JsonReader) - Method in class com.google.gson.internal.bind.SqlDateTypeAdapter
 
read(JsonReader) - Method in class com.google.gson.internal.bind.TimeTypeAdapter
 
read(JsonReader) - Method in class com.google.gson.internal.bind.TreeTypeAdapter
 
read(JsonReader) - Method in class com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper
 
read(JsonReader) - Method in class com.google.gson.internal.bind.TypeAdapters.EnumTypeAdapter
 
read(JsonReader) - Method in class com.google.gson.TypeAdapter
Reads one JSON value (an array, object, string, number, boolean or null) and converts it to a Java object.
readEscapeCharacter() - Method in class com.google.gson.stream.JsonReader
Unescapes the character identified by the character or characters that immediately follow a backslash.
rebalance(LinkedHashTreeMap.Node<K, V>, boolean) - Method in class com.google.gson.internal.LinkedHashTreeMap
Rebalances the tree by making any AVL rotations necessary between the newly-unbalanced node and the tree's root.
rebalance(LinkedTreeMap.Node<K, V>, boolean) - Method in class com.google.gson.internal.LinkedTreeMap
Rebalances the tree by making any AVL rotations necessary between the newly-unbalanced node and the tree's root.
ReflectiveTypeAdapterFactory - Class in com.google.gson.internal.bind
Type adapter that reflects over the fields and methods of a class.
ReflectiveTypeAdapterFactory(ConstructorConstructor, FieldNamingStrategy, Excluder, JsonAdapterAnnotationTypeAdapterFactory) - Constructor for class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory
 
ReflectiveTypeAdapterFactory.Adapter<T> - Class in com.google.gson.internal.bind
 
ReflectiveTypeAdapterFactory.BoundField - Class in com.google.gson.internal.bind
 
registerTypeAdapter(Type, Object) - Method in class com.google.gson.GsonBuilder
Configures Gson for custom serialization or deserialization.
registerTypeAdapterFactory(TypeAdapterFactory) - Method in class com.google.gson.GsonBuilder
Register a factory for type adapters.
registerTypeHierarchyAdapter(Class<?>, Object) - Method in class com.google.gson.GsonBuilder
Configures Gson for custom serialization or deserialization for an inheritance type hierarchy.
remove(Object) - Method in class com.google.gson.internal.LinkedHashTreeMap.EntrySet
 
remove(Object) - Method in class com.google.gson.internal.LinkedHashTreeMap.KeySet
 
remove() - Method in class com.google.gson.internal.LinkedHashTreeMap.LinkedTreeMapIterator
 
remove(Object) - Method in class com.google.gson.internal.LinkedHashTreeMap
 
remove(Object) - Method in class com.google.gson.internal.LinkedTreeMap.EntrySet
 
remove(Object) - Method in class com.google.gson.internal.LinkedTreeMap.KeySet
 
remove() - Method in class com.google.gson.internal.LinkedTreeMap.LinkedTreeMapIterator
 
remove(Object) - Method in class com.google.gson.internal.LinkedTreeMap
 
remove(JsonElement) - Method in class com.google.gson.JsonArray
Removes the first occurrence of the specified element from this array, if it is present.
remove(int) - Method in class com.google.gson.JsonArray
Removes the element at the specified position in this array.
remove(String) - Method in class com.google.gson.JsonObject
Removes the property from this JsonObject.
remove() - Method in class com.google.gson.JsonStreamParser
This optional Iterator method is not relevant for stream parsing and hence is not implemented.
removeInternal(LinkedHashTreeMap.Node<K, V>, boolean) - Method in class com.google.gson.internal.LinkedHashTreeMap
Removes node from this tree, rearranging the tree's structure as necessary.
removeInternal(LinkedTreeMap.Node<K, V>, boolean) - Method in class com.google.gson.internal.LinkedTreeMap
Removes node from this tree, rearranging the tree's structure as necessary.
removeInternalByKey(Object) - Method in class com.google.gson.internal.LinkedHashTreeMap
 
removeInternalByKey(Object) - Method in class com.google.gson.internal.LinkedTreeMap
 
replaceInParent(LinkedHashTreeMap.Node<K, V>, LinkedHashTreeMap.Node<K, V>) - Method in class com.google.gson.internal.LinkedHashTreeMap
 
replaceInParent(LinkedTreeMap.Node<K, V>, LinkedTreeMap.Node<K, V>) - Method in class com.google.gson.internal.LinkedTreeMap
 
REPLACEMENT_CHARS - Static variable in class com.google.gson.stream.JsonWriter
 
replaceTop(int) - Method in class com.google.gson.stream.JsonWriter
Replace the value on the top of the stack with the given value.
requireExpose - Variable in class com.google.gson.internal.Excluder
 
reset(int) - Method in class com.google.gson.internal.LinkedHashTreeMap.AvlBuilder
 
reset(LinkedHashTreeMap.Node<K, V>) - Method in class com.google.gson.internal.LinkedHashTreeMap.AvlIterator
 
resolve(Type, Class<?>, Type) - Static method in class com.google.gson.internal.$Gson$Types
 
resolve(Type, Class<?>, Type, Collection<TypeVariable>) - Static method in class com.google.gson.internal.$Gson$Types
 
resolveTypeVariable(Type, Class<?>, TypeVariable<?>) - Static method in class com.google.gson.internal.$Gson$Types
 
right - Variable in class com.google.gson.internal.LinkedHashTreeMap.Node
 
right - Variable in class com.google.gson.internal.LinkedTreeMap.Node
 
root() - Method in class com.google.gson.internal.LinkedHashTreeMap.AvlBuilder
 
root - Variable in class com.google.gson.internal.LinkedTreeMap
 
rotateLeft(LinkedHashTreeMap.Node<K, V>) - Method in class com.google.gson.internal.LinkedHashTreeMap
Rotates the subtree so that its root's right child is the new root.
rotateLeft(LinkedTreeMap.Node<K, V>) - Method in class com.google.gson.internal.LinkedTreeMap
Rotates the subtree so that its root's right child is the new root.
rotateRight(LinkedHashTreeMap.Node<K, V>) - Method in class com.google.gson.internal.LinkedHashTreeMap
Rotates the subtree so that its root's left child is the new root.
rotateRight(LinkedTreeMap.Node<K, V>) - Method in class com.google.gson.internal.LinkedTreeMap
Rotates the subtree so that its root's left child is the new root.

S

secondaryHash(int) - Static method in class com.google.gson.internal.LinkedHashTreeMap
Applies a supplemental hash function to a given hashCode, which defends against poor quality hash functions.
SENTINEL_CLOSED - Static variable in class com.google.gson.internal.bind.JsonTreeReader
 
SENTINEL_CLOSED - Static variable in class com.google.gson.internal.bind.JsonTreeWriter
Added to the top of the stack when this writer is closed to cause following ops to fail.
separateCamelCase(String, String) - Static method in enum com.google.gson.FieldNamingPolicy
Converts the field name that uses camel-case define word separation into separate words that are separated by the provided separatorString.
separator - Variable in class com.google.gson.stream.JsonWriter
The name/value separator; either ":" or ": ".
serializationStrategies - Variable in class com.google.gson.internal.Excluder
 
serialize(Object) - Method in class com.google.gson.internal.bind.TreeTypeAdapter.GsonContextImpl
 
serialize(Object, Type) - Method in class com.google.gson.internal.bind.TreeTypeAdapter.GsonContextImpl
 
serialize(Object) - Method in interface com.google.gson.JsonSerializationContext
Invokes default serialization on the specified object.
serialize(Object, Type) - Method in interface com.google.gson.JsonSerializationContext
Invokes default serialization on the specified object passing the specific type information.
serialize(T, Type, JsonSerializationContext) - Method in interface com.google.gson.JsonSerializer
Gson invokes this call-back method during serialization when it encounters a field of the specified type.
serialize(Long) - Method in enum com.google.gson.LongSerializationPolicy
Serialize this value using this serialization policy.
serialized - Variable in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.BoundField
 
SerializedName - Annotation Type in com.google.gson.annotations
An annotation that indicates this member should be serialized to JSON with the provided name value as its field name.
serializeInnerClasses - Variable in class com.google.gson.internal.Excluder
 
serializeNulls - Variable in class com.google.gson.Gson
 
serializeNulls() - Method in class com.google.gson.Gson
 
serializeNulls - Variable in class com.google.gson.GsonBuilder
 
serializeNulls() - Method in class com.google.gson.GsonBuilder
Configure Gson to serialize null fields.
serializeNulls - Variable in class com.google.gson.stream.JsonWriter
 
serializer - Variable in class com.google.gson.internal.bind.TreeTypeAdapter
 
serializer - Variable in class com.google.gson.internal.bind.TreeTypeAdapter.SingleTypeFactory
 
serializeSpecialFloatingPointValues - Variable in class com.google.gson.GsonBuilder
 
serializeSpecialFloatingPointValues() - Method in class com.google.gson.GsonBuilder
Section 2.4 of JSON specification disallows special double values (NaN, Infinity, -Infinity).
serialVersionUID - Static variable in class com.google.gson.internal.$Gson$Types.GenericArrayTypeImpl
 
serialVersionUID - Static variable in class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 
serialVersionUID - Static variable in class com.google.gson.internal.$Gson$Types.WildcardTypeImpl
 
serialVersionUID - Static variable in exception com.google.gson.JsonIOException
 
serialVersionUID - Static variable in exception com.google.gson.JsonParseException
 
serialVersionUID - Static variable in exception com.google.gson.JsonSyntaxException
 
serialVersionUID - Static variable in exception com.google.gson.stream.MalformedJsonException
 
set(int, JsonElement) - Method in class com.google.gson.JsonArray
Replaces the element at the specified position in this array with the specified element.
setDateFormat(String) - Method in class com.google.gson.GsonBuilder
Configures Gson to serialize Date objects according to the pattern provided.
setDateFormat(int) - Method in class com.google.gson.GsonBuilder
Configures Gson to to serialize Date objects according to the style value provided.
setDateFormat(int, int) - Method in class com.google.gson.GsonBuilder
Configures Gson to to serialize Date objects according to the style value provided.
setDelegate(TypeAdapter<T>) - Method in class com.google.gson.Gson.FutureTypeAdapter
 
setExclusionStrategies(ExclusionStrategy...) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply a set of exclusion strategies during both serialization and deserialization.
setFieldNamingPolicy(FieldNamingPolicy) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply a specific naming policy to an object's field during serialization and deserialization.
setFieldNamingStrategy(FieldNamingStrategy) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply a specific naming policy strategy to an object's field during serialization and deserialization.
setHtmlSafe(boolean) - Method in class com.google.gson.stream.JsonWriter
Configure this writer to emit JSON that's safe for direct inclusion in HTML and XML documents.
setIndent(String) - Method in class com.google.gson.stream.JsonWriter
Sets the indentation string to be repeated for each level of indentation in the encoded document.
setLenient() - Method in class com.google.gson.GsonBuilder
By default, Gson is strict and only accepts JSON as specified by RFC 4627.
setLenient(boolean) - Method in class com.google.gson.stream.JsonReader
Configure this parser to be liberal in what it accepts.
setLenient(boolean) - Method in class com.google.gson.stream.JsonWriter
Configure this writer to relax its syntax rules.
setLongSerializationPolicy(LongSerializationPolicy) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply a specific serialization policy for Long and long objects.
setPrettyPrinting() - Method in class com.google.gson.GsonBuilder
Configures Gson to output Json that fits in a page for pretty printing.
setSerializeNulls(boolean) - Method in class com.google.gson.stream.JsonWriter
Sets whether object members are serialized when their value is null.
setValue(V) - Method in class com.google.gson.internal.LinkedHashTreeMap.Node
 
setValue(V) - Method in class com.google.gson.internal.LinkedTreeMap.Node
 
setValue(Object) - Method in class com.google.gson.JsonPrimitive
 
setVersion(double) - Method in class com.google.gson.GsonBuilder
Configures Gson to enable versioning support.
SHORT - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
SHORT_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
shouldSkipClass(Class<?>) - Method in interface com.google.gson.ExclusionStrategy
 
shouldSkipField(FieldAttributes) - Method in interface com.google.gson.ExclusionStrategy
 
SIMPLE_NAME - Static variable in class com.google.gson.DefaultDateTypeAdapter
 
Since - Annotation Type in com.google.gson.annotations
An annotation that indicates the version number since a member or a type has been present.
SingleTypeFactory(Object, TypeToken<?>, boolean, Class<?>) - Constructor for class com.google.gson.internal.bind.TreeTypeAdapter.SingleTypeFactory
 
size - Variable in class com.google.gson.internal.LinkedHashTreeMap.AvlBuilder
 
size() - Method in class com.google.gson.internal.LinkedHashTreeMap.EntrySet
 
size() - Method in class com.google.gson.internal.LinkedHashTreeMap.KeySet
 
size - Variable in class com.google.gson.internal.LinkedHashTreeMap
 
size() - Method in class com.google.gson.internal.LinkedHashTreeMap
 
size() - Method in class com.google.gson.internal.LinkedTreeMap.EntrySet
 
size() - Method in class com.google.gson.internal.LinkedTreeMap.KeySet
 
size - Variable in class com.google.gson.internal.LinkedTreeMap
 
size() - Method in class com.google.gson.internal.LinkedTreeMap
 
size() - Method in class com.google.gson.JsonArray
Returns the number of elements in the array.
size() - Method in class com.google.gson.JsonObject
Returns the number of key/value pairs in the object.
skipPast - Variable in class com.google.gson.internal.bind.TreeTypeAdapter
 
skipQuotedValue(char) - Method in class com.google.gson.stream.JsonReader
 
skipTo(String) - Method in class com.google.gson.stream.JsonReader
 
skipToEndOfLine() - Method in class com.google.gson.stream.JsonReader
Advances the position until after the next newline character.
skipUnquotedValue() - Method in class com.google.gson.stream.JsonReader
 
skipValue() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
skipValue() - Method in class com.google.gson.stream.JsonReader
Skips the next value recursively.
SqlDateTypeAdapter - Class in com.google.gson.internal.bind
Adapter for java.sql.Date.
SqlDateTypeAdapter() - Constructor for class com.google.gson.internal.bind.SqlDateTypeAdapter
 
stack - Variable in class com.google.gson.internal.bind.JsonTreeReader
 
stack - Variable in class com.google.gson.internal.bind.JsonTreeWriter
The JsonElements and JsonArrays under modification, outermost to innermost.
stack - Variable in class com.google.gson.internal.LinkedHashTreeMap.AvlBuilder
This stack is a singly linked list, linked by the 'parent' field.
stack - Variable in class com.google.gson.stream.JsonReader
 
stack - Variable in class com.google.gson.stream.JsonWriter
 
stackSize - Variable in class com.google.gson.internal.bind.JsonTreeReader
 
stackSize - Variable in class com.google.gson.stream.JsonReader
 
stackSize - Variable in class com.google.gson.stream.JsonWriter
 
stackTop - Variable in class com.google.gson.internal.LinkedHashTreeMap.AvlIterator
This stack is a singly linked list, linked by the 'parent' field.
Streams - Class in com.google.gson.internal
Reads and writes GSON parse trees over streams.
Streams() - Constructor for class com.google.gson.internal.Streams
 
Streams.AppendableWriter - Class in com.google.gson.internal
Adapts an Appendable so it can be passed anywhere a Writer is used.
Streams.AppendableWriter.CurrentWrite - Class in com.google.gson.internal
A mutable char sequence pointing at a single char[].
STRING - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
string(String) - Method in class com.google.gson.stream.JsonWriter
 
STRING_BUFFER - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
STRING_BUFFER_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
STRING_BUILDER - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
STRING_BUILDER_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
STRING_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
subSequence(int, int) - Method in class com.google.gson.internal.Streams.AppendableWriter.CurrentWrite
 
subtypeOf(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns a type that represents an unknown type that extends bound.
supertypeOf(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns a type that represents an unknown supertype of bound.
syntaxError(String) - Method in class com.google.gson.stream.JsonReader
Throws a new IO exception with the given message and a context snippet with this reader's content.

T

table - Variable in class com.google.gson.internal.LinkedHashTreeMap
 
threshold - Variable in class com.google.gson.internal.LinkedHashTreeMap
 
TIMESTAMP_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
timeStyle - Variable in class com.google.gson.GsonBuilder
 
TimeTypeAdapter - Class in com.google.gson.internal.bind
Adapter for Time.
TimeTypeAdapter() - Constructor for class com.google.gson.internal.bind.TimeTypeAdapter
 
TIMEZONE_UTC - Static variable in class com.google.gson.internal.bind.util.ISO8601Utils
The UTC timezone, prefetched to avoid more lookups.
toJson(Object) - Method in class com.google.gson.Gson
This method serializes the specified object into its equivalent Json representation.
toJson(Object, Type) - Method in class com.google.gson.Gson
This method serializes the specified object, including those of generic types, into its equivalent Json representation.
toJson(Object, Appendable) - Method in class com.google.gson.Gson
This method serializes the specified object into its equivalent Json representation.
toJson(Object, Type, Appendable) - Method in class com.google.gson.Gson
This method serializes the specified object, including those of generic types, into its equivalent Json representation.
toJson(Object, Type, JsonWriter) - Method in class com.google.gson.Gson
Writes the JSON representation of src of type typeOfSrc to writer.
toJson(JsonElement) - Method in class com.google.gson.Gson
Converts a tree of JsonElements into its equivalent JSON representation.
toJson(JsonElement, Appendable) - Method in class com.google.gson.Gson
Writes out the equivalent JSON for a tree of JsonElements.
toJson(JsonElement, JsonWriter) - Method in class com.google.gson.Gson
Writes the JSON for jsonElement to writer.
toJson(Writer, T) - Method in class com.google.gson.TypeAdapter
Converts value to a JSON document and writes it to out.
toJson(T) - Method in class com.google.gson.TypeAdapter
Converts value to a JSON document.
toJsonTree(Object) - Method in class com.google.gson.Gson
This method serializes the specified object into its equivalent representation as a tree of JsonElements.
toJsonTree(Object, Type) - Method in class com.google.gson.Gson
This method serializes the specified object, including those of generic types, into its equivalent representation as a tree of JsonElements.
toJsonTree(T) - Method in class com.google.gson.TypeAdapter
Converts value to a JSON tree.
toString() - Method in class com.google.gson.DefaultDateTypeAdapter
 
toString() - Method in class com.google.gson.Gson
 
toString() - Method in class com.google.gson.internal.$Gson$Types.GenericArrayTypeImpl
 
toString() - Method in class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 
toString() - Method in class com.google.gson.internal.$Gson$Types.WildcardTypeImpl
 
toString() - Method in class com.google.gson.internal.bind.JsonTreeReader
 
toString() - Method in class com.google.gson.internal.ConstructorConstructor
 
toString() - Method in class com.google.gson.internal.LazilyParsedNumber
 
toString() - Method in class com.google.gson.internal.LinkedHashTreeMap.Node
 
toString() - Method in class com.google.gson.internal.LinkedTreeMap.Node
 
toString() - Method in class com.google.gson.JsonElement
Returns a String representation of this element.
toString() - Method in class com.google.gson.reflect.TypeToken
 
toString() - Method in class com.google.gson.stream.JsonReader
 
translateName(Field) - Method in interface com.google.gson.FieldNamingStrategy
Translates the field name into its JSON field name representation.
TreeTypeAdapter<T> - Class in com.google.gson.internal.bind
Adapts a Gson 1.x tree-style adapter as a streaming TypeAdapter.
TreeTypeAdapter(JsonSerializer<T>, JsonDeserializer<T>, Gson, TypeToken<T>, TypeAdapterFactory) - Constructor for class com.google.gson.internal.bind.TreeTypeAdapter
 
TreeTypeAdapter.GsonContextImpl - Class in com.google.gson.internal.bind
 
TreeTypeAdapter.SingleTypeFactory - Class in com.google.gson.internal.bind
 
type - Variable in class com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper
 
type - Variable in class com.google.gson.reflect.TypeToken
 
TypeAdapter<T> - Class in com.google.gson
Converts Java objects to and from JSON.
TypeAdapter() - Constructor for class com.google.gson.TypeAdapter
 
TypeAdapterFactory - Interface in com.google.gson
Creates type adapters for set of related types.
TypeAdapterRuntimeTypeWrapper<T> - Class in com.google.gson.internal.bind
 
TypeAdapterRuntimeTypeWrapper(Gson, TypeAdapter<T>, Type) - Constructor for class com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper
 
TypeAdapters - Class in com.google.gson.internal.bind
Type adapters for basic types.
TypeAdapters() - Constructor for class com.google.gson.internal.bind.TypeAdapters
 
TypeAdapters.EnumTypeAdapter<T extends java.lang.Enum<T>> - Class in com.google.gson.internal.bind
 
typeArguments - Variable in class com.google.gson.internal.$Gson$Types.ParameterizedTypeImpl
 
typeEquals(ParameterizedType, ParameterizedType, Map<String, Type>) - Static method in class com.google.gson.reflect.TypeToken
Checks if two parameterized types are exactly equal, under the variable replacement described in the typeVarMap.
typeToken - Variable in class com.google.gson.internal.bind.TreeTypeAdapter
 
TypeToken<T> - Class in com.google.gson.reflect
Represents a generic type T.
TypeToken() - Constructor for class com.google.gson.reflect.TypeToken
Constructs a new type literal.
TypeToken(Type) - Constructor for class com.google.gson.reflect.TypeToken
Unsafe.
typeTokenCache - Variable in class com.google.gson.Gson
 
typeToString(Type) - Static method in class com.google.gson.internal.$Gson$Types
 

U

UNREADABLE_READER - Static variable in class com.google.gson.internal.bind.JsonTreeReader
 
UnsafeAllocator - Class in com.google.gson.internal
Do sneaky things to allocate objects without invoking their constructors.
UnsafeAllocator() - Constructor for class com.google.gson.internal.UnsafeAllocator
 
Until - Annotation Type in com.google.gson.annotations
An annotation that indicates the version number until a member or a type should be present.
unwrap(Class<T>) - Static method in class com.google.gson.internal.Primitives
Returns the corresponding primitive type of type if it is a wrapper type; otherwise returns type itself.
UNWRITABLE_WRITER - Static variable in class com.google.gson.internal.bind.JsonTreeWriter
 
upperBound - Variable in class com.google.gson.internal.$Gson$Types.WildcardTypeImpl
 
upperCaseFirstLetter(String) - Static method in enum com.google.gson.FieldNamingPolicy
Ensures the JSON field names begins with an upper case letter.
URI - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
URI_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
URL - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
URL_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
UTC_ID - Static variable in class com.google.gson.internal.bind.util.ISO8601Utils
ID to represent the 'UTC' string, default timezone since Jackson 2.7
UUID - Static variable in class com.google.gson.internal.bind.TypeAdapters
 
UUID_FACTORY - Static variable in class com.google.gson.internal.bind.TypeAdapters
 

V

value(String) - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
value(boolean) - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
value(Boolean) - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
value(double) - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
value(long) - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
value(Number) - Method in class com.google.gson.internal.bind.JsonTreeWriter
 
value - Variable in class com.google.gson.internal.LazilyParsedNumber
 
value - Variable in class com.google.gson.internal.LinkedHashTreeMap.Node
 
value - Variable in class com.google.gson.internal.LinkedTreeMap.Node
 
value - Variable in class com.google.gson.JsonPrimitive
 
value(String) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
value(boolean) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
value(Boolean) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
value(double) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
value(long) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
value(Number) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
valueOf(String) - Static method in enum com.google.gson.FieldNamingPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.gson.LongSerializationPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.gson.stream.JsonToken
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.gson.FieldNamingPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.gson.LongSerializationPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.gson.stream.JsonToken
Returns an array containing the constants of this enum type, in the order they are declared.
valueTypeAdapter - Variable in class com.google.gson.internal.bind.MapTypeAdapterFactory.Adapter
 
version - Variable in class com.google.gson.internal.Excluder
 

W

WildcardTypeImpl(Type[], Type[]) - Constructor for class com.google.gson.internal.$Gson$Types.WildcardTypeImpl
 
withExclusionStrategy(ExclusionStrategy, boolean, boolean) - Method in class com.google.gson.internal.Excluder
 
withModifiers(int...) - Method in class com.google.gson.internal.Excluder
 
withVersion(double) - Method in class com.google.gson.internal.Excluder
 
wrap(Class<T>) - Static method in class com.google.gson.internal.Primitives
Returns the corresponding wrapper type of type if it is a primitive type; otherwise returns type itself.
WRAPPER_TO_PRIMITIVE_TYPE - Static variable in class com.google.gson.internal.Primitives
A map from wrapper types to their corresponding primitive types.
write(JsonWriter, Date) - Method in class com.google.gson.DefaultDateTypeAdapter
 
write(JsonWriter, T) - Method in class com.google.gson.Gson.FutureTypeAdapter
 
write(JsonWriter, Object) - Method in class com.google.gson.internal.bind.ArrayTypeAdapter
 
write(JsonWriter, Collection<E>) - Method in class com.google.gson.internal.bind.CollectionTypeAdapterFactory.Adapter
 
write(JsonWriter, Date) - Method in class com.google.gson.internal.bind.DateTypeAdapter
 
write(JsonWriter, Map<K, V>) - Method in class com.google.gson.internal.bind.MapTypeAdapterFactory.Adapter
 
write(JsonWriter, Object) - Method in class com.google.gson.internal.bind.ObjectTypeAdapter
 
write(JsonWriter, T) - Method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.Adapter
 
write(JsonWriter, Object) - Method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.BoundField
 
write(JsonWriter, Date) - Method in class com.google.gson.internal.bind.SqlDateTypeAdapter
 
write(JsonWriter, Time) - Method in class com.google.gson.internal.bind.TimeTypeAdapter
 
write(JsonWriter, T) - Method in class com.google.gson.internal.bind.TreeTypeAdapter
 
write(JsonWriter, T) - Method in class com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper
 
write(JsonWriter, T) - Method in class com.google.gson.internal.bind.TypeAdapters.EnumTypeAdapter
 
write(char[], int, int) - Method in class com.google.gson.internal.Streams.AppendableWriter
 
write(int) - Method in class com.google.gson.internal.Streams.AppendableWriter
 
write(JsonElement, JsonWriter) - Static method in class com.google.gson.internal.Streams
Writes the JSON element to the writer, recursively.
write(JsonWriter, T) - Method in class com.google.gson.TypeAdapter
Writes one JSON value (an array, object, string, number, boolean or null) for value.
writeDeferredName() - Method in class com.google.gson.stream.JsonWriter
 
writeField(Object) - Method in class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.BoundField
 
writeReplace() - Method in class com.google.gson.internal.LazilyParsedNumber
If somebody is unlucky enough to have to serialize one of these, serialize it as a BigDecimal so that they won't need Gson on the other side to deserialize it.
writeReplace() - Method in class com.google.gson.internal.LinkedHashTreeMap
If somebody is unlucky enough to have to serialize one of these, serialize it as a LinkedHashMap so that they won't need Gson on the other side to deserialize it.
writeReplace() - Method in class com.google.gson.internal.LinkedTreeMap
If somebody is unlucky enough to have to serialize one of these, serialize it as a LinkedHashMap so that they won't need Gson on the other side to deserialize it.
writerForAppendable(Appendable) - Static method in class com.google.gson.internal.Streams
 
$ A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links