opt() — spring-boot Function Reference
Architecture documentation for the opt() function in JSONObject.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 9b48d642_1484_2fc4_4698_b4b6309c2e72["opt()"] d1e7d664_bbd8_b5f8_928b_bef69f5b5ce1["JSONObject()"] d1e7d664_bbd8_b5f8_928b_bef69f5b5ce1 -->|calls| 9b48d642_1484_2fc4_4698_b4b6309c2e72 e57b8a21_0b89_c502_769b_80f0ad706d9a["optBoolean()"] e57b8a21_0b89_c502_769b_80f0ad706d9a -->|calls| 9b48d642_1484_2fc4_4698_b4b6309c2e72 ebc702ed_4f41_f802_12a4_a900152280bd["optDouble()"] ebc702ed_4f41_f802_12a4_a900152280bd -->|calls| 9b48d642_1484_2fc4_4698_b4b6309c2e72 4f57da4c_bc8f_ed5b_979f_9e2bb9960703["optInt()"] 4f57da4c_bc8f_ed5b_979f_9e2bb9960703 -->|calls| 9b48d642_1484_2fc4_4698_b4b6309c2e72 14c23fac_f8ab_4619_77ab_e1bdb9f25a7b["optLong()"] 14c23fac_f8ab_4619_77ab_e1bdb9f25a7b -->|calls| 9b48d642_1484_2fc4_4698_b4b6309c2e72 3935f0c1_ce1d_0880_c998_34f51011b2a0["optString()"] 3935f0c1_ce1d_0880_c998_34f51011b2a0 -->|calls| 9b48d642_1484_2fc4_4698_b4b6309c2e72 d7f88963_3b3a_1276_3028_78902e2ae411["optJSONArray()"] d7f88963_3b3a_1276_3028_78902e2ae411 -->|calls| 9b48d642_1484_2fc4_4698_b4b6309c2e72 16007116_c4c0_f9e6_8e37_37ce4f670982["optJSONObject()"] 16007116_c4c0_f9e6_8e37_37ce4f670982 -->|calls| 9b48d642_1484_2fc4_4698_b4b6309c2e72 367dbc3b_775c_0799_b485_713226c4cf4b["toJSONArray()"] 367dbc3b_775c_0799_b485_713226c4cf4b -->|calls| 9b48d642_1484_2fc4_4698_b4b6309c2e72 23d19be6_c283_52f7_8076_c235fe5e7e22["get()"] 9b48d642_1484_2fc4_4698_b4b6309c2e72 -->|calls| 23d19be6_c283_52f7_8076_c235fe5e7e22 style 9b48d642_1484_2fc4_4698_b4b6309c2e72 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONObject.java lines 383–385
public Object opt(String name) {
return this.nameValuePairs.get(name);
}
Domain
Subdomains
Calls
Called By
- JSONObject()
- optBoolean()
- optDouble()
- optInt()
- optJSONArray()
- optJSONObject()
- optLong()
- optString()
- toJSONArray()
Source
Frequently Asked Questions
What does opt() do?
opt() is a function in the spring-boot codebase.
What does opt() call?
opt() calls 1 function(s): get.
What calls opt()?
opt() is called by 9 function(s): JSONObject, optBoolean, optDouble, optInt, optJSONArray, optJSONObject, optLong, optString, and 1 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free