net.jangaroo.exml.json
Class JsonArray
java.lang.Object
net.jangaroo.exml.json.JsonArray
- All Implemented Interfaces:
- Json
public class JsonArray
- extends Object
- implements Json
JsonArray
public JsonArray(Object... items)
toString
public String toString()
- Overrides:
toString in class Object
toString
public String toString(int indentFactor,
int indent)
- Make a prettyprinted JSON text of this JSONArray.
Warning: This method assumes that the data structure is acyclical.
- Specified by:
toString in interface Json
- Parameters:
indentFactor - The number of spaces to add to each level of
indentation.indent - The indention of the top level.
- Returns:
- a printable, displayable, transmittable
representation of the array.
get
public Object get(String property)
- Specified by:
get in interface Json
set
public void set(String property,
Object value)
- Specified by:
set in interface Json
Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.