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
  95f4b38d_c00e_563b_67a0_1ac9214df77c["opt()"]
  135fcb76_5f4d_6bcf_4ec3_690e10d8d879["JSONObject()"]
  135fcb76_5f4d_6bcf_4ec3_690e10d8d879 -->|calls| 95f4b38d_c00e_563b_67a0_1ac9214df77c
  1a784eea_7bc3_c201_7d50_bd9d689428fb["optBoolean()"]
  1a784eea_7bc3_c201_7d50_bd9d689428fb -->|calls| 95f4b38d_c00e_563b_67a0_1ac9214df77c
  952d0487_0849_ec2c_7d51_f8e41bc2d7a8["optDouble()"]
  952d0487_0849_ec2c_7d51_f8e41bc2d7a8 -->|calls| 95f4b38d_c00e_563b_67a0_1ac9214df77c
  2cc6d055_bb11_29e9_2fce_9291453ceabd["optInt()"]
  2cc6d055_bb11_29e9_2fce_9291453ceabd -->|calls| 95f4b38d_c00e_563b_67a0_1ac9214df77c
  b8c93ee2_0b51_b413_b0e3_3d5a25e15ace["optLong()"]
  b8c93ee2_0b51_b413_b0e3_3d5a25e15ace -->|calls| 95f4b38d_c00e_563b_67a0_1ac9214df77c
  97bc1256_f1d9_2ba7_f353_6f84952f431c["optString()"]
  97bc1256_f1d9_2ba7_f353_6f84952f431c -->|calls| 95f4b38d_c00e_563b_67a0_1ac9214df77c
  c34cabe8_8204_3dd1_614a_5c365b012bee["optJSONArray()"]
  c34cabe8_8204_3dd1_614a_5c365b012bee -->|calls| 95f4b38d_c00e_563b_67a0_1ac9214df77c
  2ed1122d_0893_df5f_3c49_2e4b1bcd67c6["optJSONObject()"]
  2ed1122d_0893_df5f_3c49_2e4b1bcd67c6 -->|calls| 95f4b38d_c00e_563b_67a0_1ac9214df77c
  466311fc_2f6c_32c6_42ad_1dc532f4c748["toJSONArray()"]
  466311fc_2f6c_32c6_42ad_1dc532f4c748 -->|calls| 95f4b38d_c00e_563b_67a0_1ac9214df77c
  a4ddef17_9e29_3655_ab30_36b478cdc572["toItemMetadata()"]
  a4ddef17_9e29_3655_ab30_36b478cdc572 -->|calls| 95f4b38d_c00e_563b_67a0_1ac9214df77c
  796bebf7_64ba_cc0c_f6dc_6e51f56f0bc9["get()"]
  95f4b38d_c00e_563b_67a0_1ac9214df77c -->|calls| 796bebf7_64ba_cc0c_f6dc_6e51f56f0bc9
  style 95f4b38d_c00e_563b_67a0_1ac9214df77c 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/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