Uses of Enum 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.ScopeModifier and TypeFieldDescriptionprivate final 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.ScopeModifier and TypeMethodDescriptionprivate JSONStringer.Scope
JSONStringer.peek()
Returns the value on the top of the stack.static JSONStringer.Scope
Returns 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 com.github.openjson with parameters of type JSONStringer.ScopeModifier and TypeMethodDescription(package private) JSONStringer
JSONStringer.close
(JSONStringer.Scope empty, JSONStringer.Scope nonempty, String closeBracket) Closes the current scope by appending any necessary whitespace and the given bracket.(package private) JSONStringer
JSONStringer.open
(JSONStringer.Scope empty, 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.