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

putOpt() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  c3e3ffe2_9739_b9dd_a724_b73617bd6aab["putOpt()"]
  d8746053_75bd_ced7_f66d_addc34fad441["toJsonObject()"]
  d8746053_75bd_ced7_f66d_addc34fad441 -->|calls| c3e3ffe2_9739_b9dd_a724_b73617bd6aab
  9dc6aa2a_0b92_d0b4_fbd9_dfd96a56fd82["getItemHintValue()"]
  9dc6aa2a_0b92_d0b4_fbd9_dfd96a56fd82 -->|calls| c3e3ffe2_9739_b9dd_a724_b73617bd6aab
  0fcb93b3_4873_3258_b9e6_29138d183448["put()"]
  c3e3ffe2_9739_b9dd_a724_b73617bd6aab -->|calls| 0fcb93b3_4873_3258_b9e6_29138d183448
  style c3e3ffe2_9739_b9dd_a724_b73617bd6aab 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 283–288

	public JSONObject putOpt(String name, Object value) throws JSONException {
		if (name == null || value == null) {
			return this;
		}
		return put(name, value);
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does putOpt() do?
putOpt() is a function in the spring-boot codebase.
What does putOpt() call?
putOpt() calls 1 function(s): put.
What calls putOpt()?
putOpt() is called by 2 function(s): getItemHintValue, toJsonObject.

Analyze Your Own Codebase

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

Try Supermodel Free