net.jangaroo.exml.json
Interface Json

All Known Implementing Classes:
JsonArray, JsonObject

public interface Json


Method Summary
 Object get(String property)
           
 void set(String property, Object value)
           
 String toString(int indentFactor, int indent)
          Make a prettyprinted JSON text of this JSONObject.
 

Method Detail

get

Object get(String property)

set

void set(String property,
         Object value)

toString

String toString(int indentFactor,
                int indent)
Make a prettyprinted JSON text of this JSONObject.

Warning: This method assumes that the data structure is acyclical.

Parameters:
indentFactor - The number of spaces to add to each level of indentation.
indent - The indentation of the top level.
Returns:
a printable, displayable, transmittable representation of the object, beginning with { (left brace) and ending with } (right brace).


Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.