Name | Description | Type | Package | Framework |
TypeAdapter | Converts Java objects to and from JSON. | Class | com.google.gson | Google GSon |
|
TypeAdapterFactory | Creates type adapters for set of related types. | Interface | com.google.gson | Google GSon |
|
TypeToken | Represents a generic type T. | Class | com.google.gson.reflect | Google GSon |
|
Until | An annotation that indicates the version number until a member or a type should be present. | Class | com.google.gson.annotations | Google GSon |
|
Since | An annotation that indicates the version number since a member or a type has been present. | Class | com.google.gson.annotations | Google GSon |
|
LongSerializationPolicy | enum LongSerializationPolicyextends EnumDefines the expected format for a long or Long type when its serialized. | Class | com.google.gson | Google GSon |
|
MalformedJsonException | Thrown when a reader encounters malformed JSON. | Class | com.google.gson.stream | Google GSon |
|
SerializedName | An annotation that indicates this member should be serialized to JSON with the provided name value as its field name. | Class | com.google.gson.annotations | Google GSon |
|
JsonToken | enum JsonTokenextends EnumA structure, name or value type in a JSON-encoded string. | Class | com.google.gson.stream | Google GSon |
|
JsonWriter | Writes a JSON (RFC 4627) encoded value to a stream, one token at a time. | Class | com.google.gson.stream | Google GSon |
|
JsonSerializationContext | Context for serialization that is passed to a custom serializer during invocation of its JsonSerializer. | Interface | com.google.gson | Google GSon |
|
JsonSerializer | Interface representing a custom serializer for Json. | Interface | com.google.gson | Google GSon |
|
JsonStreamParser | A streaming parser that allows reading of multiple JsonElements from the specified reader This class is conditionally thread-safe (see Item 70, Effective Java second edition). | Class | com.google.gson | Google GSon |
|
JsonSyntaxException | This exception is raised when Gson attempts to read (or write) a malformedAuthor:Inderjeet Singh, Joel LeitchSee Also:Serialized Form | Class | com.google.gson | Google GSon |
|
JsonParser | A parser to parse Json into a parse tree of JsonElementsSince:1. | Class | com.google.gson | Google GSon |
|
JsonPrimitive | A class representing a Json primitive value. | Class | com.google.gson | Google GSon |
|
JsonReader | Reads a JSON (RFC 4627) encoded value as a stream of tokens. | Class | com.google.gson.stream | Google GSon |
|
JsonNull | A class representing a Json null value. | Class | com.google.gson | Google GSon |
|
JsonObject | A class representing an object type in Json. | Class | com.google.gson | Google GSon |
|
JsonParseException | This exception is raised if there is a serious issue that occurs during parsing of a Json string. | Class | com.google.gson | Google GSon |
|
JsonDeserializationContext | Context for deserialization that is passed to a custom deserializer during invocation of its JsonDeserializer. | Interface | com.google.gson | Google GSon |
|
JsonDeserializer | Interface representing a custom deserializer for Json. | Interface | com.google.gson | Google GSon |
|
JsonElement | A class representing an element of Json. | Class | com.google.gson | Google GSon |
|
JsonIOException | This exception is raised when Gson was unable to read an input streamAuthor:Inderjeet Singh, Joel LeitchSee Also:Serialized Form | Class | com.google.gson | Google GSon |
|
GsonBuilder | Use this builder to construct a Gson instance when you need to set configuration options other than the default. | Class | com.google.gson | Google GSon |
|
InstanceCreator | This interface is implemented to create instances of a class that does not define a no-args constructor. | Interface | com.google.gson | Google GSon |
|
JsonAdapter | An annotation that indicates the Gson TypeAdapter to use with a class Here is an example of how this annotation is used: | Class | com.google.gson.annotations | Google GSon |
|
JsonArray | A class representing an array type in Json. | Class | com.google.gson | Google GSon |
|
FieldNamingPolicy | enum FieldNamingPolicyextends Enumimplements FieldNamingStrategyAn enumeration that defines a few standard naming conventions for JSON field names. | Class | com.google.gson | Google GSon |
|
FieldNamingStrategy | A mechanism for providing custom field naming in Gson. | Interface | com.google.gson | Google GSon |
|
Gson | This is the main class for using Gson. | Class | com.google.gson | Google GSon |
|
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. | Interface | com.google.gson | Google GSon |
|
Expose | An annotation that indicates this member should be exposed for JSON serialization or deserialization. | Class | com.google.gson.annotations | Google GSon |
|
FieldAttributes | A data object that stores attributes of a field. | Class | com.google.gson | Google GSon |