public static interface JsonGenerator.Converter
Modifier and Type | Method and Description |
---|---|
Object |
convert(Object value,
String key)
Converts a given object.
|
boolean |
handles(Class<?> type)
Returns
true if this converter can handle conversions
of the given type. |
boolean handles(Class<?> type)
true
if this converter can handle conversions
of the given type.type
- the type of the object to converttrue
if this converter can successfully convert values of
the given type, else false