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

parseAllSources() — spring-boot Function Reference

Architecture documentation for the parseAllSources() function in JsonReader.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 5 called by 1

Entity Profile

Dependency Diagram

graph TD
  0c4716f1_89d3_214b_7093_ffa56bbd0903["parseAllSources()"]
  042cd95c_0b91_e683_3300_e13a43112471["read()"]
  042cd95c_0b91_e683_3300_e13a43112471 -->|calls| 0c4716f1_89d3_214b_7093_ffa56bbd0903
  b5e03970_dde4_ee52_57c8_c57ee3a0271e["has()"]
  0c4716f1_89d3_214b_7093_ffa56bbd0903 -->|calls| b5e03970_dde4_ee52_57c8_c57ee3a0271e
  b14ab9b0_58c9_e0d4_2449_70796f4eab60["parseSource()"]
  0c4716f1_89d3_214b_7093_ffa56bbd0903 -->|calls| b14ab9b0_58c9_e0d4_2449_70796f4eab60
  f9964989_2435_c964_3cbd_13f2d152f81c["getJSONArray()"]
  0c4716f1_89d3_214b_7093_ffa56bbd0903 -->|calls| f9964989_2435_c964_3cbd_13f2d152f81c
  1b3d0a68_657d_02e7_ac7c_605a667f6b93["length()"]
  0c4716f1_89d3_214b_7093_ffa56bbd0903 -->|calls| 1b3d0a68_657d_02e7_ac7c_605a667f6b93
  212159c5_c7ba_d0b1_c776_3d5b2a46713f["getJSONObject()"]
  0c4716f1_89d3_214b_7093_ffa56bbd0903 -->|calls| 212159c5_c7ba_d0b1_c776_3d5b2a46713f
  style 0c4716f1_89d3_214b_7093_ffa56bbd0903 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/JsonReader.java lines 61–72

	private List<ConfigurationMetadataSource> parseAllSources(JSONObject root) throws Exception {
		List<ConfigurationMetadataSource> result = new ArrayList<>();
		if (!root.has("groups")) {
			return result;
		}
		JSONArray sources = root.getJSONArray("groups");
		for (int i = 0; i < sources.length(); i++) {
			JSONObject source = sources.getJSONObject(i);
			result.add(parseSource(source));
		}
		return result;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does parseAllSources() do?
parseAllSources() is a function in the spring-boot codebase.
What does parseAllSources() call?
parseAllSources() calls 5 function(s): getJSONArray, getJSONObject, has, length, parseSource.
What calls parseAllSources()?
parseAllSources() is called by 1 function(s): read.

Analyze Your Own Codebase

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

Try Supermodel Free