T - The type of the object created by deserialization.public class TypeConverterGsonDeserializer<T> extends Object implements com.google.gson.JsonDeserializer<T>
JsonDeserializer deserializing a JsonPrimitive to an object of type T using
the given TypeConverter.| Constructor and Description |
|---|
TypeConverterGsonDeserializer(TypeConverter<T,String> typeConverter) |
| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
public TypeConverterGsonDeserializer(TypeConverter<T,String> typeConverter)
@Nullable public T deserialize(@Nonnull com.google.gson.JsonElement json, @Nonnull Type typeOfT, @Nonnull com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<T>com.google.gson.JsonParseExceptionCopyright © 2021 SAP SE. All rights reserved.