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

parseInternal() — spring-boot Function Reference

Architecture documentation for the parseInternal() function in BasicJsonParser.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 4 called by 2

Entity Profile

Dependency Diagram

graph TD
  e433e134_9eb1_8de3_04b7_4cd35d5455a3["parseInternal()"]
  00dd5307_1f36_21f3_34e2_818549b6844e["parseListInternal()"]
  00dd5307_1f36_21f3_34e2_818549b6844e -->|calls| e433e134_9eb1_8de3_04b7_4cd35d5455a3
  ac13e46b_0c90_9e3c_0dd8_0607a0eded32["parseMapInternal()"]
  ac13e46b_0c90_9e3c_0dd8_0607a0eded32 -->|calls| e433e134_9eb1_8de3_04b7_4cd35d5455a3
  00dd5307_1f36_21f3_34e2_818549b6844e["parseListInternal()"]
  e433e134_9eb1_8de3_04b7_4cd35d5455a3 -->|calls| 00dd5307_1f36_21f3_34e2_818549b6844e
  ac13e46b_0c90_9e3c_0dd8_0607a0eded32["parseMapInternal()"]
  e433e134_9eb1_8de3_04b7_4cd35d5455a3 -->|calls| ac13e46b_0c90_9e3c_0dd8_0607a0eded32
  0607d56f_4e07_0b6b_1105_0ecfd309fdb4["trimEdges()"]
  e433e134_9eb1_8de3_04b7_4cd35d5455a3 -->|calls| 0607d56f_4e07_0b6b_1105_0ecfd309fdb4
  53b74684_b5d9_3123_389e_49f2b369db2b["parseNumber()"]
  e433e134_9eb1_8de3_04b7_4cd35d5455a3 -->|calls| 53b74684_b5d9_3123_389e_49f2b369db2b
  style e433e134_9eb1_8de3_04b7_4cd35d5455a3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/json/BasicJsonParser.java lines 65–79

	private Object parseInternal(int nesting, String json) {
		if (nesting > MAX_DEPTH) {
			throw new IllegalStateException("JSON is too deeply nested");
		}
		if (json.startsWith("[")) {
			return parseListInternal(nesting + 1, json);
		}
		if (json.startsWith("{")) {
			return parseMapInternal(nesting + 1, json);
		}
		if (json.startsWith("\"")) {
			return trimEdges(json, '"', '"');
		}
		return parseNumber(json);
	}

Domain

Subdomains

Frequently Asked Questions

What does parseInternal() do?
parseInternal() is a function in the spring-boot codebase.
What does parseInternal() call?
parseInternal() calls 4 function(s): parseListInternal, parseMapInternal, parseNumber, trimEdges.
What calls parseInternal()?
parseInternal() is called by 2 function(s): parseListInternal, parseMapInternal.

Analyze Your Own Codebase

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

Try Supermodel Free