Uses of Class
org.json.JSONStringer
-
Uses of JSONStringer in org.json
Methods in org.json that return JSONStringerModifier and TypeMethodDescriptionJSONStringer.array()Begins encoding a new array.(package private) JSONStringerJSONStringer.close(JSONStringer.Scope empty, JSONStringer.Scope nonempty, String closeBracket) Closes the current scope by appending any necessary whitespace and the given bracket.JSONStringer.endArray()Ends encoding the current array.JSONStringer.endObject()Ends encoding the current object.Encodes the key (property name) to this stringer.JSONStringer.object()Begins encoding a new object.(package private) JSONStringerJSONStringer.open(JSONStringer.Scope empty, String openBracket) Enters a new scope by appending any necessary whitespace and the given bracket.JSONStringer.value(boolean value) Encodesvalueto this stringer.JSONStringer.value(double value) Encodesvalueto this stringer.JSONStringer.value(long value) Encodesvalueto this stringer.Encodesvalue.Methods in org.json with parameters of type JSONStringerModifier and TypeMethodDescription(package private) voidJSONArray.writeTo(JSONStringer stringer) (package private) voidJSONObject.writeTo(JSONStringer stringer)