Uses of Class
org.json.JSONStringer
| Package | Description |
|---|---|
| org.json |
-
Uses of JSONStringer in org.json
Methods in org.json that return JSONStringer Modifier and Type Method Description JSONStringerJSONStringer. array()Begins encoding a new array.JSONStringerJSONStringer. endArray()Ends encoding the current array.JSONStringerJSONStringer. endObject()Ends encoding the current object.JSONStringerJSONStringer. key(String name)Encodes the key (property name) to this stringer.JSONStringerJSONStringer. object()Begins encoding a new object.JSONStringerJSONStringer. value(boolean value)Encodesvalueto this stringer.JSONStringerJSONStringer. value(double value)Encodesvalueto this stringer.JSONStringerJSONStringer. value(long value)Encodesvalueto this stringer.JSONStringerJSONStringer. value(Object value)Encodesvalue.