|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TypeAdapter | |
|---|---|
| com.google.gson | This package provides the Gson class 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 TypeAdapter in com.google.gson |
|---|
| Methods in com.google.gson that return TypeAdapter | ||
|---|---|---|
|
TypeAdapterFactory.create(Gson gson,
TypeToken<T> type)
Returns a type adapter for type, or null if this factory doesn't
support type. |
|
|
Gson.getAdapter(Class<T> type)
Returns the type adapter for type. |
|
|
Gson.getAdapter(TypeToken<T> type)
Returns the type adapter for type. |
|
|
Gson.getDelegateAdapter(TypeAdapterFactory skipPast,
TypeToken<T> type)
This method is used to get an alternate type adapter for the specified type. |
|
TypeAdapter<T> |
TypeAdapter.nullSafe()
This wrapper method is used to make a type adapter null tolerant. |
|
| Uses of TypeAdapter in com.google.gson.internal |
|---|
| Methods in com.google.gson.internal that return TypeAdapter | ||
|---|---|---|
|
Excluder.create(Gson gson,
TypeToken<T> type)
|
|
| Uses of TypeAdapter in com.google.gson.internal.bind |
|---|
| Subclasses of TypeAdapter in com.google.gson.internal.bind | |
|---|---|
class |
ArrayTypeAdapter<E>
Adapt an array of objects. |
class |
DateTypeAdapter
Adapter for Date. |
class |
ObjectTypeAdapter
Adapts types whose static type is only 'Object'. |
class |
ReflectiveTypeAdapterFactory.Adapter<T>
|
class |
SqlDateTypeAdapter
Adapter for java.sql.Date. |
class |
TimeTypeAdapter
Adapter for Time. |
| Methods in com.google.gson.internal.bind that return TypeAdapter | ||
|---|---|---|
|
ReflectiveTypeAdapterFactory.create(Gson gson,
TypeToken<T> type)
|
|
|
MapTypeAdapterFactory.create(Gson gson,
TypeToken<T> typeToken)
|
|
|
CollectionTypeAdapterFactory.create(Gson gson,
TypeToken<T> typeToken)
|
|
| Methods in com.google.gson.internal.bind with parameters of type TypeAdapter | ||
|---|---|---|
static
|
TypeAdapters.newFactory(Class<TT> unboxed,
Class<TT> boxed,
TypeAdapter<? super TT> typeAdapter)
|
|
static
|
TypeAdapters.newFactory(Class<TT> type,
TypeAdapter<TT> typeAdapter)
|
|
static
|
TypeAdapters.newFactory(TypeToken<TT> type,
TypeAdapter<TT> typeAdapter)
|
|
static
|
TypeAdapters.newFactoryForMultipleTypes(Class<TT> base,
Class<? extends TT> sub,
TypeAdapter<? super TT> typeAdapter)
|
|
static
|
TypeAdapters.newTypeHierarchyFactory(Class<TT> clazz,
TypeAdapter<TT> typeAdapter)
|
|
| Constructors in com.google.gson.internal.bind with parameters of type TypeAdapter | |
|---|---|
ArrayTypeAdapter(Gson context,
TypeAdapter<E> componentTypeAdapter,
Class<E> componentType)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||