loadJson() — spring-boot Function Reference
Architecture documentation for the loadJson() function in ImageArchiveIndexTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 43d04388_716d_0f42_9283_a988eb346bc7["loadJson()"] dd8ce24d_ae54_bc94_c431_a08f0e2df55a["getContentAsString()"] 43d04388_716d_0f42_9283_a988eb346bc7 -->|calls| dd8ce24d_ae54_bc94_c431_a08f0e2df55a bba434f7_a0bc_7d34_9420_c311559b93d6["getIndex()"] 43d04388_716d_0f42_9283_a988eb346bc7 -->|calls| bba434f7_a0bc_7d34_9420_c311559b93d6 style 43d04388_716d_0f42_9283_a988eb346bc7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/type/ImageArchiveIndexTests.java lines 32–42
@Test
void loadJson() {
String content = getContentAsString("image-archive-index.json");
ImageArchiveIndex index = getIndex(content);
assertThat(index.getSchemaVersion()).isEqualTo(2);
assertThat(index.getManifests()).hasSize(1);
BlobReference manifest = index.getManifests().get(0);
assertThat(manifest.getMediaType()).isEqualTo("application/vnd.docker.distribution.manifest.list.v2+json");
assertThat(manifest.getDigest())
.isEqualTo("sha256:3bbe02431d8e5124ffe816ec27bf6508b50edd1d10218be1a03e799a186b9004");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does loadJson() do?
loadJson() is a function in the spring-boot codebase.
What does loadJson() call?
loadJson() calls 2 function(s): getContentAsString, getIndex.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free