public interface CustomTypeAdapter<T>
Date:
{@code
CustomTypeAdapter dateCustomTypeAdapter = new CustomTypeAdapter() { | Modifier and Type | Method and Description |
|---|---|
T |
decode(java.lang.String value)
De-serializes the value to the custom scalar type.
|
java.lang.String |
encode(T value)
Serializes the custom scalar type to the corresponding string value.
|
T decode(java.lang.String value)
value - the value to de-serializejava.lang.String encode(T value)
value - the custom scalar type to serialize