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

peek() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  9596cab2_d5a6_0f2b_a448_634ebb188df4["peek()"]
  6cdeb97e_1787_c53e_8bab_7cc87df78a35["close()"]
  6cdeb97e_1787_c53e_8bab_7cc87df78a35 -->|calls| 9596cab2_d5a6_0f2b_a448_634ebb188df4
  5071f7ab_a0fe_6bbf_a0e8_50413d3a3ee2["beforeKey()"]
  5071f7ab_a0fe_6bbf_a0e8_50413d3a3ee2 -->|calls| 9596cab2_d5a6_0f2b_a448_634ebb188df4
  250890e2_bc7d_48c3_5fce_7d652e3be2b4["beforeValue()"]
  250890e2_bc7d_48c3_5fce_7d652e3be2b4 -->|calls| 9596cab2_d5a6_0f2b_a448_634ebb188df4
  style 9596cab2_d5a6_0f2b_a448_634ebb188df4 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 213–218

	private Scope peek() throws JSONException {
		if (this.stack.isEmpty()) {
			throw new JSONException("Nesting problem");
		}
		return this.stack.get(this.stack.size() - 1);
	}

Domain

Subdomains

Frequently Asked Questions

What does peek() do?
peek() is a function in the spring-boot codebase.
What calls peek()?
peek() is called by 3 function(s): beforeKey, beforeValue, close.

Analyze Your Own Codebase

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

Try Supermodel Free