Uses of Class
com.github.openjson.JSONStringer.Scope
-
-
Uses of JSONStringer.Scope in com.github.openjson
Fields in com.github.openjson with type parameters of type JSONStringer.Scope Modifier and Type Field Description private java.util.List<JSONStringer.Scope>
JSONStringer. stack
Unlike the original implementation, this stack isn't limited to 20 levels of nesting.Methods in com.github.openjson that return JSONStringer.Scope Modifier and Type Method Description private JSONStringer.Scope
JSONStringer. peek()
Returns the value on the top of the stack.static JSONStringer.Scope
JSONStringer.Scope. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JSONStringer.Scope[]
JSONStringer.Scope. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.github.openjson with parameters of type JSONStringer.Scope Modifier and Type Method Description (package private) JSONStringer
JSONStringer. close(JSONStringer.Scope empty, JSONStringer.Scope nonempty, java.lang.String closeBracket)
Closes the current scope by appending any necessary whitespace and the given bracket.(package private) JSONStringer
JSONStringer. open(JSONStringer.Scope empty, java.lang.String openBracket)
Enters a new scope by appending any necessary whitespace and the given bracket.private void
JSONStringer. replaceTop(JSONStringer.Scope topOfStack)
Replace the value on the top of the stack with the given value.
-