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

key() — spring-boot Function Reference

Architecture documentation for the key() function in JSONStringer.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  b882a0c4_5c4a_7762_3d17_2796837ca4be["key()"]
  5071f7ab_a0fe_6bbf_a0e8_50413d3a3ee2["beforeKey()"]
  b882a0c4_5c4a_7762_3d17_2796837ca4be -->|calls| 5071f7ab_a0fe_6bbf_a0e8_50413d3a3ee2
  9cf535e0_9471_f6c9_8763_74ee901ad411["string()"]
  b882a0c4_5c4a_7762_3d17_2796837ca4be -->|calls| 9cf535e0_9471_f6c9_8763_74ee901ad411
  style b882a0c4_5c4a_7762_3d17_2796837ca4be 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/JSONStringer.java lines 359–366

	public JSONStringer key(String name) throws JSONException {
		if (name == null) {
			throw new JSONException("Names must be non-null");
		}
		beforeKey();
		string(name);
		return this;
	}

Domain

Subdomains

Frequently Asked Questions

What does key() do?
key() is a function in the spring-boot codebase.
What does key() call?
key() calls 2 function(s): beforeKey, string.

Analyze Your Own Codebase

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

Try Supermodel Free