public static class JsonElementTypeAdapter.Factory
extends java.lang.Object
implements com.google.gson.TypeAdapterFactory
JsonAdapter annotation like this:
@JsonAdapter(JsonElementTypeAdapter.Factory.class)| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
<T> com.google.gson.TypeAdapter<T> |
create(com.google.gson.Gson gson,
com.google.gson.reflect.TypeToken<T> type) |