程序包 com.sh.json.util
类 PropertySetStrategy
java.lang.Object
com.sh.json.util.PropertySetStrategy
Defines a custom setter to be used when setting object values.
Specify with JsonConfig.setJsonPropertySetter().
Specify with JsonConfig.setJsonPropertySetter().
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract voidsetProperty(Object bean, String key, Object value) voidsetProperty(Object bean, String key, Object value, JsonConfig jsonConfig)
-
字段详细资料
-
DEFAULT
-
-
构造器详细资料
-
PropertySetStrategy
public PropertySetStrategy()
-
-
方法详细资料
-
setProperty
- 抛出:
JSONException
-
setProperty
public void setProperty(Object bean, String key, Object value, JsonConfig jsonConfig) throws JSONException - 抛出:
JSONException
-