public class SimpleAdapter extends Object implements TypeAdapter<Object>
Constructor and Description |
---|
SimpleAdapter() |
Modifier and Type | Method and Description |
---|---|
Object |
adapt(Object value,
Class<?> type,
Type genericType,
Annotation[] annotations) |
Object |
adaptNull(Object value,
Class<?> type,
Type genericType,
Annotation[] annotations) |
public Object adapt(Object value, Class<?> type, Type genericType, Annotation[] annotations)
adapt
in interface TypeAdapter<Object>
public Object adaptNull(Object value, Class<?> type, Type genericType, Annotation[] annotations)