Uses of Class
com.google.gson.Gson
Packages that use 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.
-
Uses of Gson in com.google.gson
Methods in com.google.gson that return GsonModifier and TypeMethodDescriptionGsonBuilder.create()Creates aGsoninstance based on the current configuration.Methods in com.google.gson with parameters of type GsonModifier and TypeMethodDescription<T> TypeAdapter<T> Returns a type adapter fortype, or null if this factory doesn't supporttype.Constructors in com.google.gson with parameters of type GsonModifierConstructorDescription(package private)GsonBuilder(Gson gson) Constructs a GsonBuilder instance from a Gson instance. -
Uses of Gson in com.google.gson.graph
Methods in com.google.gson.graph with parameters of type Gson -
Uses of Gson in com.google.gson.interceptors
Methods in com.google.gson.interceptors with parameters of type Gson -
Uses of Gson in com.google.gson.internal
Methods in com.google.gson.internal with parameters of type Gson -
Uses of Gson in com.google.gson.internal.bind
Fields in com.google.gson.internal.bind declared as GsonModifier and TypeFieldDescriptionprivate final GsonTypeAdapterRuntimeTypeWrapper.contextprivate final GsonObjectTypeAdapter.gson(package private) final GsonTreeTypeAdapter.gsonMethods in com.google.gson.internal.bind with parameters of type GsonModifier and TypeMethodDescription<T> TypeAdapter<T> <T> TypeAdapter<T> <T> TypeAdapter<T> <T> TypeAdapter<T> <T> TypeAdapter<T> ReflectiveTypeAdapterFactory.createBoundField(Gson context, Field field, Method accessor, String name, TypeToken<?> fieldType, boolean serialize, boolean deserialize, boolean blockInaccessible) ReflectiveTypeAdapterFactory.getBoundFields(Gson context, TypeToken<?> type, Class<?> raw, boolean blockInaccessible, boolean isRecord) private TypeAdapter<?> MapTypeAdapterFactory.getKeyAdapter(Gson context, Type keyType) Returns a type adapter that writes the value as a string.(package private) TypeAdapter<?> JsonAdapterAnnotationTypeAdapterFactory.getTypeAdapter(ConstructorConstructor constructorConstructor, Gson gson, TypeToken<?> type, JsonAdapter annotation) Constructors in com.google.gson.internal.bind with parameters of type GsonModifierConstructorDescriptionAdapter(Gson context, Type elementType, TypeAdapter<E> elementTypeAdapter, ObjectConstructor<? extends Collection<E>> constructor) Adapter(Gson context, Type keyType, TypeAdapter<K> keyTypeAdapter, Type valueType, TypeAdapter<V> valueTypeAdapter, ObjectConstructor<? extends Map<K, V>> constructor) ArrayTypeAdapter(Gson context, TypeAdapter<E> componentTypeAdapter, Class<E> componentType) privateObjectTypeAdapter(Gson gson, ToNumberStrategy toNumberStrategy) TreeTypeAdapter(JsonSerializer<T> serializer, JsonDeserializer<T> deserializer, Gson gson, TypeToken<T> typeToken, TypeAdapterFactory skipPast) TreeTypeAdapter(JsonSerializer<T> serializer, JsonDeserializer<T> deserializer, Gson gson, TypeToken<T> typeToken, TypeAdapterFactory skipPast, boolean nullSafe) (package private)TypeAdapterRuntimeTypeWrapper(Gson context, TypeAdapter<T> delegate, Type type) -
Uses of Gson in com.google.gson.typeadapters
Methods in com.google.gson.typeadapters with parameters of type Gson