public interface Json
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String property) |
void |
set(String property,
Object value) |
String |
toString(int indentFactor,
int indent)
Make a pretty-printed JSON text of this JSONObject.
|
String toString(int indentFactor, int indent)
Warning: This method assumes that the data structure is acyclical.
indentFactor - The number of spaces to add to each level of
indentation.indent - The indentation of the top level.{ (left brace) and ending
with } (right brace).Copyright © 2002–2018 CoreMedia AG. All rights reserved.