public interface JsonBeanProcessor
Modifier and Type | Method and Description |
---|---|
JSONObject |
processBean(Object bean,
JsonConfig jsonConfig)
Processes the bean an returns a suitable JSONObject representation.
|
JSONObject processBean(Object bean, JsonConfig jsonConfig)
bean
- the input beanjsonConfig
- the current configuration environmentJSONException
- if an error occurs during transformation