类 JsDateJsonValueProcessor
java.lang.Object
com.sh.json.processors.JsDateJsonValueProcessor
- 所有已实现的接口:
JsonValueProcessor
Transforms a java.util.Date property into a JSONObject ideal for JsDate
conversion
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明processArrayValue(Object value, JsonConfig jsonConfig) Processes the value an returns a suitable JSON value.processObjectValue(String key, Object value, JsonConfig jsonConfig) Processes the value an returns a suitable JSON value.
-
构造器详细资料
-
JsDateJsonValueProcessor
public JsDateJsonValueProcessor()
-
-
方法详细资料
-
processArrayValue
从接口复制的说明:JsonValueProcessorProcesses the value an returns a suitable JSON value.- 指定者:
processArrayValue在接口中JsonValueProcessor- 参数:
value- the input value- 返回:
- a valid JSON value that represents the input value
-
processObjectValue
从接口复制的说明:JsonValueProcessorProcesses the value an returns a suitable JSON value.- 指定者:
processObjectValue在接口中JsonValueProcessor- 参数:
key- the name of the propertyvalue- the value of the property- 返回:
- a valid JSON value that represents the input property
-