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

childrenAt() — spring-boot Function Reference

Architecture documentation for the childrenAt() function in MappedObject.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  f0ef97e0_28f4_85b9_4d9e_e7bc840c79a8["childrenAt()"]
  5ff96cf4_0cd5_b393_bd8e_cee37b14ec20["Image()"]
  5ff96cf4_0cd5_b393_bd8e_cee37b14ec20 -->|calls| f0ef97e0_28f4_85b9_4d9e_e7bc840c79a8
  59e6aa89_270b_cab2_164e_199e6c792ed6["ImageArchiveIndex()"]
  59e6aa89_270b_cab2_164e_199e6c792ed6 -->|calls| f0ef97e0_28f4_85b9_4d9e_e7bc840c79a8
  fd8cb9c2_537c_5efe_addb_a8932515fc21["ImageArchiveManifest()"]
  fd8cb9c2_537c_5efe_addb_a8932515fc21 -->|calls| f0ef97e0_28f4_85b9_4d9e_e7bc840c79a8
  1d15f7de_db54_e86b_8d61_9722ba8e5429["Manifest()"]
  1d15f7de_db54_e86b_8d61_9722ba8e5429 -->|calls| f0ef97e0_28f4_85b9_4d9e_e7bc840c79a8
  6501639d_d373_8085_fb18_099071fa70a4["ManifestList()"]
  6501639d_d373_8085_fb18_099071fa70a4 -->|calls| f0ef97e0_28f4_85b9_4d9e_e7bc840c79a8
  style f0ef97e0_28f4_85b9_4d9e_e7bc840c79a8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/json/MappedObject.java lines 109–117

	protected <T> List<T> childrenAt(@Nullable String expression, Function<JsonNode, T> factory) {
		JsonNode node = (expression != null) ? this.node.at(expression) : this.node;
		if (node.isEmpty()) {
			return Collections.emptyList();
		}
		List<T> children = new ArrayList<>();
		node.values().forEach((childNode) -> children.add(factory.apply(childNode)));
		return Collections.unmodifiableList(children);
	}

Domain

Subdomains

Frequently Asked Questions

What does childrenAt() do?
childrenAt() is a function in the spring-boot codebase.
What calls childrenAt()?
childrenAt() is called by 5 function(s): Image, ImageArchiveIndex, ImageArchiveManifest, Manifest, ManifestList.

Analyze Your Own Codebase

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

Try Supermodel Free