Uses of Class
com.google.gson.Gson
-
Packages that use Gson Package Description com.google.gson This package provides theGsonclass to convert Json to Java and vice-versa.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 -
-
Uses of Gson in com.google.gson
Methods in com.google.gson that return Gson Modifier and Type Method Description GsonGsonBuilder. create()Creates aGsoninstance 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.Constructors in com.google.gson with parameters of type Gson Constructor Description GsonBuilder(Gson gson)Constructs a GsonBuilder instance from a Gson instance. -
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
Fields in com.google.gson.internal.bind declared as Gson Modifier and Type Field Description private GsonTypeAdapterRuntimeTypeWrapper. contextprivate GsonObjectTypeAdapter. gson(package private) GsonTreeTypeAdapter. gsonMethods 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)<T> TypeAdapter<T>TreeTypeAdapter.SingleTypeFactory. create(Gson gson, TypeToken<T> type)private ReflectiveTypeAdapterFactory.BoundFieldReflectiveTypeAdapterFactory. createBoundField(Gson context, java.lang.reflect.Field field, java.lang.String name, TypeToken<?> fieldType, boolean serialize, boolean deserialize)private java.util.Map<java.lang.String,ReflectiveTypeAdapterFactory.BoundField>ReflectiveTypeAdapterFactory. getBoundFields(Gson context, TypeToken<?> type, java.lang.Class<?> raw)private TypeAdapter<?>MapTypeAdapterFactory. getKeyAdapter(Gson context, java.lang.reflect.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 Gson Constructor Description Adapter(Gson context, java.lang.reflect.Type elementType, TypeAdapter<E> elementTypeAdapter, ObjectConstructor<? extends java.util.Collection<E>> constructor)Adapter(Gson context, java.lang.reflect.Type keyType, TypeAdapter<K> keyTypeAdapter, java.lang.reflect.Type valueType, TypeAdapter<V> valueTypeAdapter, ObjectConstructor<? extends java.util.Map<K,V>> constructor)ArrayTypeAdapter(Gson context, TypeAdapter<E> componentTypeAdapter, java.lang.Class<E> componentType)ObjectTypeAdapter(Gson gson)TreeTypeAdapter(JsonSerializer<T> serializer, JsonDeserializer<T> deserializer, Gson gson, TypeToken<T> typeToken, TypeAdapterFactory skipPast)TypeAdapterRuntimeTypeWrapper(Gson context, TypeAdapter<T> delegate, java.lang.reflect.Type type)
-