Uses of Class
com.google.gson.Gson
-
Packages that use Gson Package Description com.google.gson This package provides theGson
class to convert Json to Java and vice-versa.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.typeadapters -
-
Uses of Gson in com.google.gson
Methods in com.google.gson that return Gson Modifier and Type Method Description Gson
GsonBuilder. create()
Creates aGson
instance based on the current configuration.Methods in com.google.gson with parameters of type Gson Modifier and Type Method Description <T> TypeAdapter<T>
TypeAdapterFactory. create(Gson gson, TypeToken<T> type)
Returns a type adapter fortype
, or null if this factory doesn't supporttype
. -
Uses of Gson in com.google.gson.interceptors
Methods in com.google.gson.interceptors with parameters of type Gson Modifier and Type Method Description <T> TypeAdapter<T>
InterceptorFactory. create(Gson gson, TypeToken<T> type)
-
Uses of Gson in com.google.gson.internal
Methods in com.google.gson.internal with parameters of type Gson Modifier and Type Method Description <T> TypeAdapter<T>
Excluder. create(Gson gson, TypeToken<T> type)
-
Uses of Gson in com.google.gson.internal.bind
Methods in com.google.gson.internal.bind with parameters of type Gson Modifier and Type Method Description <T> TypeAdapter<T>
CollectionTypeAdapterFactory. create(Gson gson, TypeToken<T> typeToken)
<T> TypeAdapter<T>
JsonAdapterAnnotationTypeAdapterFactory. create(Gson gson, TypeToken<T> targetType)
<T> TypeAdapter<T>
MapTypeAdapterFactory. create(Gson gson, TypeToken<T> typeToken)
<T> TypeAdapter<T>
ReflectiveTypeAdapterFactory. create(Gson gson, TypeToken<T> type)
Constructors in com.google.gson.internal.bind with parameters of type Gson Constructor Description ArrayTypeAdapter(Gson context, TypeAdapter<E> componentTypeAdapter, Class<E> componentType)
TreeTypeAdapter(JsonSerializer<T> serializer, JsonDeserializer<T> deserializer, Gson gson, TypeToken<T> typeToken, TypeAdapterFactory skipPast)
-
Uses of Gson in com.google.gson.typeadapters
Methods in com.google.gson.typeadapters with parameters of type Gson Modifier and Type Method Description <T> TypeAdapter<T>
PostConstructAdapterFactory. create(Gson gson, TypeToken<T> type)
<R> TypeAdapter<R>
RuntimeTypeAdapterFactory. create(Gson gson, TypeToken<R> type)
-