Package net.sf.json.util
Class PropertySetStrategy
java.lang.Object
net.sf.json.util.PropertySetStrategy
Defines a custom setter to be used when setting object values.
Specify with JsonConfig.setJsonPropertySetter().
Specify with JsonConfig.setJsonPropertySetter().
- Author:
- Gino Miceli ginomiceli@users.sourceforge.net, Andres Almiray aalmiray@users.sourceforge.net
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidsetProperty(Object bean, String key, Object value) voidsetProperty(Object bean, String key, Object value, JsonConfig jsonConfig)
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
PropertySetStrategy
public PropertySetStrategy()
-
-
Method Details
-
setProperty
- Throws:
JSONException
-
setProperty
public void setProperty(Object bean, String key, Object value, JsonConfig jsonConfig) throws JSONException - Throws:
JSONException
-