Uses of Package
com.google.gson
-
Packages that use com.google.gson Package Description com.google.gson This package provides theGsonclass to convert Json to Java and vice-versa.com.google.gson.graph com.google.gson.interceptors com.google.gson.internal Do NOT use any class in this package as they are meant for internal use in Gson.com.google.gson.internal.bind com.google.gson.internal.reflect com.google.gson.internal.sql com.google.gson.stream This package provides classes for processing JSON in an efficient streaming way.com.google.gson.typeadapters -
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.FormattingStyle A class used to control what the serialization output looks like.Gson This is the main class for using Gson.GsonBuilder Use this builder to construct aGsoninstance 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 JSONnullvalue.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 alongorLongtype 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.Strictness Modes that indicate how strictly a JSON reader or writer follows the syntax laid out in the RFC 8259 JSON specification.ToNumberPolicy An enumeration that defines two standard number reading strategies and a couple of strategies to overcome some historical Gson limitations while deserializing numbers asObjectandNumber.ToNumberStrategy A strategy that is used to control how numbers should be deserialized forObjectandNumberwhen 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 com.google.gson.graph Class Description Gson This is the main class for using Gson.GsonBuilder Use this builder to construct aGsoninstance 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 com.google.gson.interceptors 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 com.google.gson.internal 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 com.google.gson.internal.bind 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 forObjectandNumberwhen 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 com.google.gson.internal.reflect 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 com.google.gson.internal.sql 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 com.google.gson.stream Class Description FormattingStyle A class used to control what the serialization output looks like.Strictness Modes that indicate how strictly a JSON reader or writer follows the syntax laid out in the RFC 8259 JSON specification. -
Classes in com.google.gson used by com.google.gson.typeadapters 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.