Package net.sf.json.processors
Interface JsonBeanProcessor
-
- All Known Implementing Classes:
JsDateJsonBeanProcessor
public interface JsonBeanProcessor
Base interface for custom serialization per Bean.- Author:
- Andres Almiray
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JSONObject
processBean(java.lang.Object bean, JsonConfig jsonConfig)
Processes the bean an returns a suitable JSONObject representation.
-
-
-
Method Detail
-
processBean
JSONObject processBean(java.lang.Object bean, JsonConfig jsonConfig)
Processes the bean an returns a suitable JSONObject representation.- Parameters:
bean
- the input beanjsonConfig
- the current configuration environment- Returns:
- a JSONObject that represents the input bean
- Throws:
JSONException
- if an error occurs during transformation
-
-