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
  65076e4d_26f9_55c7_e58b_d2e3df1292a7["key()"]
  f7850c98_ffd7_9766_27a1_8b42d7687b07["beforeKey()"]
  65076e4d_26f9_55c7_e58b_d2e3df1292a7 -->|calls| f7850c98_ffd7_9766_27a1_8b42d7687b07
  8e01b66e_3088_391c_7224_2c5acfeeb5a9["string()"]
  65076e4d_26f9_55c7_e58b_d2e3df1292a7 -->|calls| 8e01b66e_3088_391c_7224_2c5acfeeb5a9
  style 65076e4d_26f9_55c7_e58b_d2e3df1292a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/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