Class of org.json · JSONStringer.java · Android's reference
public class JSONStringer
Writes JSON text, compact or indented, as Android's does.
public JSONStringer() sourcepublic JSONStringer array() throws JSONException sourcepublic JSONStringer endArray() throws JSONException sourcepublic JSONStringer object() throws JSONException sourcepublic JSONStringer endObject() throws JSONException sourcepublic JSONStringer value(Object value) throws JSONException sourcepublic JSONStringer value(boolean value) throws JSONException sourcepublic JSONStringer value(double value) throws JSONException sourcepublic JSONStringer value(long value) throws JSONException sourcepublic JSONStringer key(String name) throws JSONException sourcepublic String toString() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.