public interface JsonValueProcessor
| Modifier and Type | Method and Description |
|---|---|
Object |
processArrayValue(Object value,
JsonConfig jsonConfig)
Processes the value an returns a suitable JSON value.
|
Object |
processObjectValue(String key,
Object value,
JsonConfig jsonConfig)
Processes the value an returns a suitable JSON value.
|
Object processArrayValue(Object value, JsonConfig jsonConfig)
value - the input valueJSONException - if an error occurs during transformationObject processObjectValue(String key, Object value, JsonConfig jsonConfig)
key - the name of the propertyvalue - the value of the propertyJSONException - if an error occurs during transformation