Uses of Enum
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.stackUnlike 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.ScopeJSONStringer.peek()Returns the value on the top of the stack.static JSONStringer.ScopeReturns 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.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.