Package | Description |
---|---|
com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
Class and Description |
---|
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.
|
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.
|
GsonBuilder
Use this builder to construct a
Gson instance when you need to set configuration
options other than the default. |
JsonArray
A class representing an array type in Json.
|
JsonDeserializationContext
Context for deserialization that is passed to a custom deserializer during invocation of its
JsonDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext)
method. |
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.
|
JsonPrimitive
A class representing a Json primitive value.
|
JsonSerializationContext
Context for serialization that is passed to a custom serializer during invocation of its
JsonSerializer.serialize(Object, Type, JsonSerializationContext) method. |
JsonSyntaxException
This exception is raised when Gson attempts to read (or write) a malformed
JSON element.
|
LongSerializationPolicy
Defines the expected format for a
long or Long type when its serialized. |
TypeAdapter
Converts Java objects to and from JSON.
|
TypeAdapterFactory
Creates type adapters for set of related types.
|
Copyright © 2016. All Rights Reserved.