public class TypeDeriveAdapter<T> extends Object implements com.google.gson.JsonSerializer<T>, com.google.gson.JsonDeserializer<T>
Constructor and Description |
---|
TypeDeriveAdapter() |
TypeDeriveAdapter(String typeProperty) |
Modifier and Type | Method and Description |
---|---|
T |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(T src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public TypeDeriveAdapter()
public TypeDeriveAdapter(String typeProperty)
Copyright © 2020. All rights reserved.