| java.lang.Object org.araneaframework.http.util.JsonObject
JsonObject | public class JsonObject implements Serializable(Code) | | A collection of name/value pairs in JSON data-interchange format.
author: Alar Kvell (alar@araneaframework.org) since: 1.1 |
JsonObject | public JsonObject()(Code) | | |
setProperty | public void setProperty(String name, String value)(Code) | | Set a name/value pair on this object. Duplicate names are not checked.
Parameters: name - name of the property Parameters: value - value of the property. Can be a string in double quotes, or anumber, or true or false or null, or an object or an array. |
setStringProperty | public void setStringProperty(String name, String value)(Code) | | Set a name/value pair on this object. Duplicate names are not checked.
Parameters: name - name of the property Parameters: value - value of the property. It is automatically double-quoted torepresent a string. |
toString | public String toString()(Code) | | Get this object in JSON data-interchange format.
|
|
|