Uses of Enum Class
org.json.JSONStringer.Scope
-
Uses of JSONStringer.Scope in org.json
Fields in org.json with type parameters of type JSONStringer.ScopeModifier and TypeFieldDescriptionprivate final List<JSONStringer.Scope> JSONStringer.stackUnlike the original implementation, this stack isn't limited to 20 levels of nesting.Methods in org.json that return JSONStringer.ScopeModifier and TypeMethodDescriptionprivate JSONStringer.ScopeJSONStringer.peek()Returns the value on the top of the stack.static JSONStringer.ScopeReturns the enum constant of this class with the specified name.static JSONStringer.Scope[]JSONStringer.Scope.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.json with parameters of type JSONStringer.ScopeModifier and TypeMethodDescription(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.(package private) JSONStringerJSONStringer.open(JSONStringer.Scope empty, String openBracket) Enters a new scope by appending any necessary whitespace and the given bracket.private voidJSONStringer.replaceTop(JSONStringer.Scope topOfStack) Replace the value on the top of the stack with the given value.