Example usage for Java org.json JSONWriter fields, constructors, methods, implement or subclass
The text is from its open source code.
JSONWriter(Writer w) Make a fresh JSONWriter. | |
JSONWriter |
JSONWriter | array() Begin appending a new array. |
JSONWriter | endArray() End an array. |
JSONWriter | endObject() End an object. |
JSONWriter | key(String string) Append a key. |
JSONWriter | object() Begin appending a new object. |
String | toString() Returns a string representation of the object. |
JSONWriter | value(boolean b) Append either the value true or the value false . |
JSONWriter | value(double d) Append a double value. |
JSONWriter | value(long l) Append a long value. |
JSONWriter | value(Object object) Append an object value. |