Uses of Package
com.google.gson
-
Packages that use com.google.gson Package Description com.google.gson This package provides theGson
class to convert Json to Java and vice-versa.<Unnamed> <Unnamed> <Unnamed> <Unnamed> <Unnamed> <Unnamed> <Unnamed> -
Classes in com.google.gson used by com.google.gson Class Description ExclusionStrategy A strategy (or policy) definition that is used to decide whether or not a field or 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 aGson
instance when you need to set configuration options other than the default.InstanceCreator This interface is implemented to create instances of a class that does not define a no-args constructor.JsonArray A class representing an array type in JSON.JsonDeserializationContext Context for deserialization that is passed to a custom deserializer during invocation of itsJsonDeserializer.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 JSONnull
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 itsJsonSerializer.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 along
orLong
type when it is serialized.ReflectionAccessFilter Filter for determining whether reflection based serialization and deserialization is allowed for a class.ReflectionAccessFilter.FilterResult Result of a filter check.ToNumberPolicy An enumeration that defines two standard number reading strategies and a couple of strategies to overcome some historical Gson limitations while deserializing numbers asObject
andNumber
.ToNumberStrategy A strategy that is used to control how numbers should be deserialized forObject
andNumber
when a concrete type of the deserialized number is unknown in advance.TypeAdapter Converts Java objects to and from JSON.TypeAdapterFactory Creates type adapters for set of related types. -
Classes in com.google.gson used by <Unnamed> Class Description Gson This is the main class for using Gson.GsonBuilder Use this builder to construct aGson
instance when you need to set configuration options other than the default.InstanceCreator This interface is implemented to create instances of a class that does not define a no-args constructor.JsonElement A class representing an element of JSON.TypeAdapter Converts Java objects to and from JSON.TypeAdapterFactory Creates type adapters for set of related types. -
Classes in com.google.gson used by <Unnamed> Class Description Gson This is the main class for using Gson.TypeAdapter Converts Java objects to and from JSON.TypeAdapterFactory Creates type adapters for set of related types. -
Classes in com.google.gson used by <Unnamed> Class Description ExclusionStrategy A strategy (or policy) definition that is used to decide whether or not a field or class should be serialized or deserialized as part of the JSON output/input.Gson This is the main class for using Gson.InstanceCreator This interface is implemented to create instances of a class that does not define a no-args constructor.JsonElement A class representing an element of JSON.JsonParseException This exception is raised if there is a serious issue that occurs during parsing of a Json string.ReflectionAccessFilter Filter for determining whether reflection based serialization and deserialization is allowed for a class.ReflectionAccessFilter.FilterResult Result of a filter check.TypeAdapter Converts Java objects to and from JSON.TypeAdapterFactory Creates type adapters for set of related types. -
Classes in com.google.gson used by <Unnamed> Class Description FieldNamingStrategy A mechanism for providing custom field naming in Gson.Gson This is the main class for using Gson.JsonDeserializationContext Context for deserialization that is passed to a custom deserializer during invocation of itsJsonDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext)
method.JsonDeserializer Interface representing a custom deserializer for JSON.JsonElement A class representing an element of 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 itsJsonSerializer.serialize(Object, Type, JsonSerializationContext)
method.JsonSerializer Interface representing a custom serializer for JSON.ReflectionAccessFilter Filter for determining whether reflection based serialization and deserialization is allowed for a class.ToNumberStrategy A strategy that is used to control how numbers should be deserialized forObject
andNumber
when a concrete type of the deserialized number is unknown in advance.TypeAdapter Converts Java objects to and from JSON.TypeAdapterFactory Creates type adapters for set of related types. -
Classes in com.google.gson used by <Unnamed> Class Description JsonIOException This exception is raised when Gson was unable to read an input stream or write to one. -
Classes in com.google.gson used by <Unnamed> Class Description TypeAdapter Converts Java objects to and from JSON.TypeAdapterFactory Creates type adapters for set of related types. -
Classes in com.google.gson used by <Unnamed> Class Description Gson This is the main class for using Gson.TypeAdapter Converts Java objects to and from JSON.TypeAdapterFactory Creates type adapters for set of related types.