接口 JsonBeanProcessor
- 所有已知实现类:
JsDateJsonBeanProcessor
public interface JsonBeanProcessor
Base interface for custom serialization per Bean.
-
方法概要
修饰符和类型方法说明processBean(Object bean, JsonConfig jsonConfig) Processes the bean an returns a suitable JSONObject representation.
-
方法详细资料
-
processBean
Processes the bean an returns a suitable JSONObject representation.- 参数:
bean- the input beanjsonConfig- the current configuration environment- 返回:
- a JSONObject that represents the input bean
- 抛出:
JSONException- if an error occurs during transformation
-