Uses of Package
com.google.gson
Packages that use com.google.gson
Package
Description
This package provides the
Gson
class to convert Json to Java and
vice-versa.Do NOT use any class in this package as they are meant for internal use in Gson.
-
Classes in com.google.gson used by com.google.gsonClassDescriptionA 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.A data object that stores attributes of a field.An enumeration that defines a few standard naming conventions for JSON field names.A mechanism for providing custom field naming in Gson.This is the main class for using Gson.Use this builder to construct a
Gson
instance when you need to set configuration options other than the default.This interface is implemented to create instances of a class that does not define a no-args constructor.A class representing an array type in Json.Context for deserialization that is passed to a custom deserializer during invocation of itsJsonDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext)
method.A class representing an element of Json.This exception is raised when Gson was unable to read an input stream or write to one.A class representing a Jsonnull
value.A class representing an object type in Json.This exception is raised if there is a serious issue that occurs during parsing of a Json string.A class representing a Json primitive value.Context for serialization that is passed to a custom serializer during invocation of itsJsonSerializer.serialize(Object, Type, JsonSerializationContext)
method.This exception is raised when Gson attempts to read (or write) a malformed JSON element.Defines the expected format for along
orLong
type when it is serialized.Filter for determining whether reflection based serialization and deserialization is allowed for a class.Result of a filter check.Converts Java objects to and from JSON.Creates type adapters for set of related types. -
Classes in com.google.gson used by com.google.gson.graphClassDescriptionThis is the main class for using Gson.Use this builder to construct a
Gson
instance when you need to set configuration options other than the default.This interface is implemented to create instances of a class that does not define a no-args constructor.A class representing an element of Json.Converts Java objects to and from JSON.Creates type adapters for set of related types. -
Classes in com.google.gson used by com.google.gson.interceptorsClassDescriptionThis is the main class for using Gson.Converts Java objects to and from JSON.Creates type adapters for set of related types.
-
Classes in com.google.gson used by com.google.gson.internalClassDescriptionA 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.This is the main class for using Gson.This interface is implemented to create instances of a class that does not define a no-args constructor.A class representing an element of Json.This exception is raised if there is a serious issue that occurs during parsing of a Json string.Filter for determining whether reflection based serialization and deserialization is allowed for a class.Result of a filter check.Converts Java objects to and from JSON.Creates type adapters for set of related types.
-
Classes in com.google.gson used by com.google.gson.internal.bindClassDescriptionA mechanism for providing custom field naming in Gson.This is the main class for using Gson.Context for deserialization that is passed to a custom deserializer during invocation of its
JsonDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext)
method.Interface representing a custom deserializer for Json.A class representing an element of Json.This exception is raised if there is a serious issue that occurs during parsing of a Json string.A class representing a Json primitive value.Context for serialization that is passed to a custom serializer during invocation of itsJsonSerializer.serialize(Object, Type, JsonSerializationContext)
method.Interface representing a custom serializer for Json.Filter for determining whether reflection based serialization and deserialization is allowed for a class.Converts Java objects to and from JSON.Creates type adapters for set of related types. -
Classes in com.google.gson used by com.google.gson.internal.reflectClassDescriptionThis exception is raised when Gson was unable to read an input stream or write to one.
-
Classes in com.google.gson used by com.google.gson.internal.sqlClassDescriptionConverts Java objects to and from JSON.Creates type adapters for set of related types.
-
Classes in com.google.gson used by com.google.gson.typeadaptersClassDescriptionThis is the main class for using Gson.Converts Java objects to and from JSON.Creates type adapters for set of related types.