close() — spring-boot Function Reference
Architecture documentation for the close() function in JSONStringer.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 6cdeb97e_1787_c53e_8bab_7cc87df78a35["close()"] cba0727d_a95a_8032_4177_2a906132b43f["endArray()"] cba0727d_a95a_8032_4177_2a906132b43f -->|calls| 6cdeb97e_1787_c53e_8bab_7cc87df78a35 79f557cd_7c15_e381_a839_3c05e455497c["endObject()"] 79f557cd_7c15_e381_a839_3c05e455497c -->|calls| 6cdeb97e_1787_c53e_8bab_7cc87df78a35 9596cab2_d5a6_0f2b_a448_634ebb188df4["peek()"] 6cdeb97e_1787_c53e_8bab_7cc87df78a35 -->|calls| 9596cab2_d5a6_0f2b_a448_634ebb188df4 4bc521aa_77f0_104c_fbaa_5ff8efa00155["newline()"] 6cdeb97e_1787_c53e_8bab_7cc87df78a35 -->|calls| 4bc521aa_77f0_104c_fbaa_5ff8efa00155 style 6cdeb97e_1787_c53e_8bab_7cc87df78a35 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONStringer.java lines 194–206
JSONStringer close(Scope empty, Scope nonempty, String closeBracket) throws JSONException {
Scope context = peek();
if (context != nonempty && context != empty) {
throw new JSONException("Nesting problem");
}
this.stack.remove(this.stack.size() - 1);
if (context == nonempty) {
newline();
}
this.out.append(closeBracket);
return this;
}
Domain
Subdomains
Called By
- endArray()
- endObject()
Source
Frequently Asked Questions
What does close() do?
close() is a function in the spring-boot codebase.
What does close() call?
close() calls 2 function(s): newline, peek.
What calls close()?
close() is called by 2 function(s): endArray, endObject.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free