beforeKey() — spring-boot Function Reference
Architecture documentation for the beforeKey() function in JSONStringer.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD e92f7fe7_8c33_9052_400e_798b8d0a9db7["beforeKey()"] 11c8f4f1_fcc9_aa57_6558_2f774878d7a3["key()"] 11c8f4f1_fcc9_aa57_6558_2f774878d7a3 -->|calls| e92f7fe7_8c33_9052_400e_798b8d0a9db7 fdc6dc40_dd98_df76_a7ed_999403394249["peek()"] e92f7fe7_8c33_9052_400e_798b8d0a9db7 -->|calls| fdc6dc40_dd98_df76_a7ed_999403394249 cce3afba_7ed2_f723_6502_829a455c1594["newline()"] e92f7fe7_8c33_9052_400e_798b8d0a9db7 -->|calls| cce3afba_7ed2_f723_6502_829a455c1594 2403ad6c_a6e0_f601_1944_35b410cf83f8["replaceTop()"] e92f7fe7_8c33_9052_400e_798b8d0a9db7 -->|calls| 2403ad6c_a6e0_f601_1944_35b410cf83f8 style e92f7fe7_8c33_9052_400e_798b8d0a9db7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/json-shade/java/org/springframework/boot/configurationprocessor/json/JSONStringer.java lines 373–383
private void beforeKey() throws JSONException {
Scope context = peek();
if (context == Scope.NONEMPTY_OBJECT) { // first in object
this.out.append(',');
}
else if (context != Scope.EMPTY_OBJECT) { // not in an object!
throw new JSONException("Nesting problem");
}
newline();
replaceTop(Scope.DANGLING_KEY);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does beforeKey() do?
beforeKey() is a function in the spring-boot codebase.
What does beforeKey() call?
beforeKey() calls 3 function(s): newline, peek, replaceTop.
What calls beforeKey()?
beforeKey() is called by 1 function(s): key.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free