Module com.google.gson
Package com.google.gson.internal.bind
Class SerializationDelegatingTypeAdapter<T>
java.lang.Object
com.google.gson.TypeAdapter<T>
com.google.gson.internal.bind.SerializationDelegatingTypeAdapter<T>
- Direct Known Subclasses:
Gson.FutureTypeAdapter
,TreeTypeAdapter
Type adapter which might delegate serialization to another adapter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TypeAdapter<T>
Returns the adapter used for serialization, might bethis
or another adapter.Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, read, toJson, toJson, toJsonTree, write
-
Constructor Details
-
SerializationDelegatingTypeAdapter
public SerializationDelegatingTypeAdapter()
-
-
Method Details
-
getSerializationDelegate
Returns the adapter used for serialization, might bethis
or another adapter. That other adapter might itself also be aSerializationDelegatingTypeAdapter
.
-