|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JsonValueProcessor
Base interface for custom serialization per property.
Method Summary | |
---|---|
java.lang.Object |
processArrayValue(java.lang.Object value,
JsonConfig jsonConfig)
Processes the value an returns a suitable JSON value. |
java.lang.Object |
processObjectValue(java.lang.String key,
java.lang.Object value,
JsonConfig jsonConfig)
Processes the value an returns a suitable JSON value. |
Method Detail |
---|
java.lang.Object processArrayValue(java.lang.Object value, JsonConfig jsonConfig)
value
- the input value
JSONException
- if an error occurs during transformationjava.lang.Object processObjectValue(java.lang.String key, java.lang.Object value, JsonConfig jsonConfig)
key
- the name of the propertyvalue
- the value of the property
JSONException
- if an error occurs during transformation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |