Home / Function/ opt() — spring-boot Function Reference

opt() — spring-boot Function Reference

Architecture documentation for the opt() function in JSONObject.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 10

Entity Profile

Dependency Diagram

graph TD
  3f311302_743c_0448_919e_30cb3dc18736["opt()"]
  f1a34274_9212_49ef_a9b7_b1602eb3ab03["JSONObject()"]
  f1a34274_9212_49ef_a9b7_b1602eb3ab03 -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  9de448da_cc01_450a_3a8f_cfa176fc2cc1["optBoolean()"]
  9de448da_cc01_450a_3a8f_cfa176fc2cc1 -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  b143aea8_57b9_96c9_6ced_4f3c0428de0c["optDouble()"]
  b143aea8_57b9_96c9_6ced_4f3c0428de0c -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  ff8a980b_ddfa_1284_417b_e7bb7ef60c0f["optInt()"]
  ff8a980b_ddfa_1284_417b_e7bb7ef60c0f -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  b83e60e9_1fcf_27cf_3f07_695dc7f873d3["optLong()"]
  b83e60e9_1fcf_27cf_3f07_695dc7f873d3 -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  6a9880f7_c232_07f2_e6f6_6f055d14f6e4["optString()"]
  6a9880f7_c232_07f2_e6f6_6f055d14f6e4 -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  fcd2c15b_680f_d422_476e_994a0b1eafcd["optJSONArray()"]
  fcd2c15b_680f_d422_476e_994a0b1eafcd -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  35b9d009_15ba_76f9_b712_f883762b1415["optJSONObject()"]
  35b9d009_15ba_76f9_b712_f883762b1415 -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  d893a9f1_90ef_72a8_214b_1f5138cb8af3["toJSONArray()"]
  d893a9f1_90ef_72a8_214b_1f5138cb8af3 -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  f0a7a167_d269_1fd7_866c_891752cd681d["parseItem()"]
  f0a7a167_d269_1fd7_866c_891752cd681d -->|calls| 3f311302_743c_0448_919e_30cb3dc18736
  a50303b0_fe68_9acb_a34d_5b51d45ddbcd["get()"]
  3f311302_743c_0448_919e_30cb3dc18736 -->|calls| a50303b0_fe68_9acb_a34d_5b51d45ddbcd
  style 3f311302_743c_0448_919e_30cb3dc18736 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/JSONObject.java lines 383–385

	public Object opt(String name) {
		return this.nameValuePairs.get(name);
	}

Domain

Subdomains

Calls

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 10 function(s): JSONObject, optBoolean, optDouble, optInt, optJSONArray, optJSONObject, optLong, optString, and 2 more.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free