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

processJson() — spring-boot Function Reference

Architecture documentation for the processJson() function in SpringApplicationJsonEnvironmentPostProcessor.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 5 called by 1

Entity Profile

Dependency Diagram

graph TD
  5befe146_3d9f_1d43_890a_4cd9496d5270["processJson()"]
  adc8ca08_2817_5656_6289_2160168253d5["postProcessEnvironment()"]
  adc8ca08_2817_5656_6289_2160168253d5 -->|calls| 5befe146_3d9f_1d43_890a_4cd9496d5270
  2ba9d365_1256_1507_3546_512aa468633f["getJsonParser()"]
  5befe146_3d9f_1d43_890a_4cd9496d5270 -->|calls| 2ba9d365_1256_1507_3546_512aa468633f
  5d0b3041_ab91_6130_51da_4e1b3c2f6bc5["getJson()"]
  5befe146_3d9f_1d43_890a_4cd9496d5270 -->|calls| 5d0b3041_ab91_6130_51da_4e1b3c2f6bc5
  76003874_f1f1_195f_3789_99a65371b769["addJsonPropertySource()"]
  5befe146_3d9f_1d43_890a_4cd9496d5270 -->|calls| 76003874_f1f1_195f_3789_99a65371b769
  e4d2b358_49ef_9c09_27c2_a0bfa576cedf["JsonPropertySource()"]
  5befe146_3d9f_1d43_890a_4cd9496d5270 -->|calls| e4d2b358_49ef_9c09_27c2_a0bfa576cedf
  c19be9da_bfe9_4a40_414a_fdb8a3748837["flatten()"]
  5befe146_3d9f_1d43_890a_4cd9496d5270 -->|calls| c19be9da_bfe9_4a40_414a_fdb8a3748837
  style 5befe146_3d9f_1d43_890a_4cd9496d5270 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/support/SpringApplicationJsonEnvironmentPostProcessor.java lines 106–112

	private void processJson(ConfigurableEnvironment environment, JsonPropertyValue propertyValue) {
		JsonParser parser = JsonParserFactory.getJsonParser();
		Map<String, Object> map = parser.parseMap(propertyValue.getJson());
		if (!map.isEmpty()) {
			addJsonPropertySource(environment, new JsonPropertySource(propertyValue, flatten(map)));
		}
	}

Domain

Subdomains

Calls

  • JsonPropertySource()
  • addJsonPropertySource()
  • flatten()
  • getJson()
  • getJsonParser()

Called By

  • postProcessEnvironment()

Frequently Asked Questions

What does processJson() do?
processJson() is a function in the spring-boot codebase.
What does processJson() call?
processJson() calls 5 function(s): JsonPropertySource, addJsonPropertySource, flatten, getJson, getJsonParser.
What calls processJson()?
processJson() is called by 1 function(s): postProcessEnvironment.

Analyze Your Own Codebase

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

Try Supermodel Free