public static interface JsonGenerator.Converter
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convert(java.lang.Object value,
java.lang.String key)
Converts a given object.
|
boolean |
handles(java.lang.Class<?> type)
Returns
true if this converter can handle conversions
of the given type. |
boolean handles(java.lang.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 falsejava.lang.Object convert(java.lang.Object value,
java.lang.String key)
value - the object to convertkey - the key name for the value, may be null