All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
| Class |
Description |
| $Gson$Preconditions |
A simple utility class used to check method Preconditions.
|
| $Gson$Types |
Static methods for working with types.
|
| $Gson$Types.GenericArrayTypeImpl |
|
| $Gson$Types.ParameterizedTypeImpl |
|
| $Gson$Types.WildcardTypeImpl |
The WildcardType interface supports multiple upper bounds and multiple
lower bounds.
|
| ArrayTypeAdapter<E> |
Adapt an array of objects.
|
| CollectionTypeAdapterFactory |
Adapt a homogeneous collection of objects.
|
| CollectionTypeAdapterFactory.Adapter<E> |
|
| ConstructorConstructor |
Returns a function that can construct an instance of a requested type.
|
| DateTypeAdapter |
Adapter for Date.
|
| DefaultDateTypeAdapter |
This type adapter supports three subclasses of date: Date, Timestamp, and
java.sql.Date.
|
| Excluder |
This class selects which fields and types to omit.
|
| ExclusionStrategy |
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.
|
| Expose |
An annotation that indicates this member should be exposed for JSON
serialization or deserialization.
|
| FieldAttributes |
A data object that stores attributes of a field.
|
| FieldNamingPolicy |
An enumeration that defines a few standard naming conventions for JSON field names.
|
| FieldNamingStrategy |
A mechanism for providing custom field naming in Gson.
|
| Gson |
This is the main class for using Gson.
|
| Gson.FutureTypeAdapter<T> |
|
| GsonBuilder |
Use this builder to construct a Gson instance when you need to set configuration
options other than the default.
|
| InstanceCreator<T> |
This interface is implemented to create instances of a class that does not define a no-args
constructor.
|
| ISO8601Utils |
Utilities methods for manipulating dates in iso8601 format.
|
| JavaVersion |
Utility to check the major Java version of the current JVM.
|
| JsonAdapter |
An annotation that indicates the Gson TypeAdapter to use with a class
or field.
|
| JsonAdapterAnnotationTypeAdapterFactory |
Given a type T, looks for the annotation JsonAdapter and uses an instance of the
specified class as the default type adapter.
|
| JsonArray |
A class representing an array type in Json.
|
| JsonDeserializationContext |
|
| JsonDeserializer<T> |
Interface representing a custom deserializer for Json.
|
| JsonElement |
A class representing an element of Json.
|
| JsonIOException |
This exception is raised when Gson was unable to read an input stream
or write to one.
|
| JsonNull |
A class representing a Json null value.
|
| JsonObject |
A class representing an object type in Json.
|
| JsonParseException |
This exception is raised if there is a serious issue that occurs during parsing of a Json
string.
|
| JsonParser |
A parser to parse Json into a parse tree of JsonElements
|
| JsonPrimitive |
A class representing a Json primitive value.
|
| JsonReader |
Reads a JSON ( RFC 7159)
encoded value as a stream of tokens.
|
| JsonReaderInternalAccess |
Internal-only APIs of JsonReader available only to other classes in Gson.
|
| JsonScope |
Lexical scoping elements within a JSON reader or writer.
|
| JsonSerializationContext |
|
| JsonSerializer<T> |
Interface representing a custom serializer for Json.
|
| JsonStreamParser |
A streaming parser that allows reading of multiple JsonElements from the specified reader
asynchronously.
|
| JsonSyntaxException |
This exception is raised when Gson attempts to read (or write) a malformed
JSON element.
|
| JsonToken |
A structure, name or value type in a JSON-encoded string.
|
| JsonTreeReader |
This reader walks the elements of a JsonElement as if it was coming from a
character stream.
|
| JsonTreeWriter |
This writer creates a JsonElement.
|
| JsonWriter |
Writes a JSON ( RFC 7159)
encoded value to a stream, one token at a time.
|
| LazilyParsedNumber |
This class holds a number value that is lazily converted to a specific number type
|
| LinkedHashTreeMap<K,V> |
A map of comparable keys to values.
|
| LinkedHashTreeMap.AvlBuilder<K,V> |
Builds AVL trees of a predetermined size by accepting nodes of increasing
value.
|
| LinkedHashTreeMap.AvlIterator<K,V> |
Walks an AVL tree in iteration order.
|
| LinkedHashTreeMap.Node<K,V> |
|
| LinkedTreeMap<K,V> |
A map of comparable keys to values.
|
| LinkedTreeMap.Node<K,V> |
|
| LongSerializationPolicy |
Defines the expected format for a long or Long type when its serialized.
|
| MalformedJsonException |
Thrown when a reader encounters malformed JSON.
|
| MapTypeAdapterFactory |
Adapts maps to either JSON objects or JSON arrays.
|
| ObjectConstructor<T> |
Defines a generic object construction factory.
|
| ObjectTypeAdapter |
Adapts types whose static type is only 'Object'.
|
| PreJava9DateFormatProvider |
Provides DateFormats for US locale with patterns which were the default ones before Java 9.
|
| PreJava9ReflectionAccessor |
|
| Primitives |
Contains static utility methods pertaining to primitive types and their
corresponding wrapper types.
|
| ReflectionAccessor |
Provides a replacement for AccessibleObject.setAccessible(boolean), which may be used to
avoid reflective access issues appeared in Java 9, like InaccessibleObjectException
thrown or warnings like
|
| ReflectiveTypeAdapterFactory |
Type adapter that reflects over the fields and methods of a class.
|
| ReflectiveTypeAdapterFactory.Adapter<T> |
|
| ReflectiveTypeAdapterFactory.BoundField |
|
| SerializedName |
An annotation that indicates this member should be serialized to JSON with
the provided name value as its field name.
|
| Since |
An annotation that indicates the version number since a member or a type has been present.
|
| SqlDateTypeAdapter |
Adapter for java.sql.Date.
|
| Streams |
Reads and writes GSON parse trees over streams.
|
| Streams.AppendableWriter |
Adapts an Appendable so it can be passed anywhere a Writer
is used.
|
| Streams.AppendableWriter.CurrentWrite |
A mutable char sequence pointing at a single char[].
|
| TimeTypeAdapter |
Adapter for Time.
|
| TreeTypeAdapter<T> |
Adapts a Gson 1.x tree-style adapter as a streaming TypeAdapter.
|
| TreeTypeAdapter.SingleTypeFactory |
|
| TypeAdapter<T> |
Converts Java objects to and from JSON.
|
| TypeAdapterFactory |
Creates type adapters for set of related types.
|
| TypeAdapterRuntimeTypeWrapper<T> |
|
| TypeAdapters |
Type adapters for basic types.
|
| TypeAdapters.EnumTypeAdapter<T extends java.lang.Enum<T>> |
|
| TypeToken<T> |
Represents a generic type T.
|
| UnsafeAllocator |
Do sneaky things to allocate objects without invoking their constructors.
|
| UnsafeReflectionAccessor |
|
| Until |
An annotation that indicates the version number until a member or a type should be present.
|