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
  11c8f4f1_fcc9_aa57_6558_2f774878d7a3["key()"]
  e92f7fe7_8c33_9052_400e_798b8d0a9db7["beforeKey()"]
  11c8f4f1_fcc9_aa57_6558_2f774878d7a3 -->|calls| e92f7fe7_8c33_9052_400e_798b8d0a9db7
  c61e7c16_ac86_0cff_fee3_0fcd0441abf1["string()"]
  11c8f4f1_fcc9_aa57_6558_2f774878d7a3 -->|calls| c61e7c16_ac86_0cff_fee3_0fcd0441abf1
  style 11c8f4f1_fcc9_aa57_6558_2f774878d7a3 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/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