value() — spring-boot Function Reference
Architecture documentation for the value() function in JSONStringer.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD d5728516_edfd_11b6_90c1_8de8274cc06a["value()"] b634357f_6f8f_41d5_45a5_c5d3343bd58d["beforeValue()"] d5728516_edfd_11b6_90c1_8de8274cc06a -->|calls| b634357f_6f8f_41d5_45a5_c5d3343bd58d c61e7c16_ac86_0cff_fee3_0fcd0441abf1["string()"] d5728516_edfd_11b6_90c1_8de8274cc06a -->|calls| c61e7c16_ac86_0cff_fee3_0fcd0441abf1 5cf3363d_3d2a_c11f_0326_295d40d45fe2["toString()"] d5728516_edfd_11b6_90c1_8de8274cc06a -->|calls| 5cf3363d_3d2a_c11f_0326_295d40d45fe2 style d5728516_edfd_11b6_90c1_8de8274cc06a 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 236–265
public JSONStringer value(Object value) throws JSONException {
if (this.stack.isEmpty()) {
throw new JSONException("Nesting problem");
}
if (value instanceof JSONArray) {
((JSONArray) value).writeTo(this);
return this;
}
else if (value instanceof JSONObject) {
((JSONObject) value).writeTo(this);
return this;
}
beforeValue();
if (value == null || value instanceof Boolean || value == JSONObject.NULL) {
this.out.append(value);
}
else if (value instanceof Number) {
this.out.append(JSONObject.numberToString((Number) value));
}
else {
string(value.toString());
}
return this;
}
Domain
Subdomains
Calls
- beforeValue()
- string()
- toString()
Source
Frequently Asked Questions
What does value() do?
value() is a function in the spring-boot codebase.
What does value() call?
value() calls 3 function(s): beforeValue, string, toString.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free