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
  fdc6dc40_dd98_df76_a7ed_999403394249["peek()"]
  6eb655c8_a943_e5f2_3b38_9fb1298c5acf["close()"]
  6eb655c8_a943_e5f2_3b38_9fb1298c5acf -->|calls| fdc6dc40_dd98_df76_a7ed_999403394249
  e92f7fe7_8c33_9052_400e_798b8d0a9db7["beforeKey()"]
  e92f7fe7_8c33_9052_400e_798b8d0a9db7 -->|calls| fdc6dc40_dd98_df76_a7ed_999403394249
  b634357f_6f8f_41d5_45a5_c5d3343bd58d["beforeValue()"]
  b634357f_6f8f_41d5_45a5_c5d3343bd58d -->|calls| fdc6dc40_dd98_df76_a7ed_999403394249
  style fdc6dc40_dd98_df76_a7ed_999403394249 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 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