readValueDeserializesJson() — spring-boot Function Reference
Architecture documentation for the readValueDeserializesJson() function in ErrorsTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 44250c2d_0c42_ff93_1782_bf0631935c99["readValueDeserializesJson()"] 77c004fc_6c07_e754_40f2_1a6110f6e2de["getJsonMapper()"] 44250c2d_0c42_ff93_1782_bf0631935c99 -->|calls| 77c004fc_6c07_e754_40f2_1a6110f6e2de d418b23d_753d_7479_2803_95836fe0b005["getContent()"] 44250c2d_0c42_ff93_1782_bf0631935c99 -->|calls| d418b23d_753d_7479_2803_95836fe0b005 style 44250c2d_0c42_ff93_1782_bf0631935c99 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/transport/ErrorsTests.java lines 35–46
@Test
void readValueDeserializesJson() throws Exception {
Errors errors = getJsonMapper().readValue(getContent("errors.json"), Errors.class);
Iterator<Error> iterator = errors.iterator();
Error error1 = iterator.next();
Error error2 = iterator.next();
assertThat(iterator.hasNext()).isFalse();
assertThat(error1.getCode()).isEqualTo("TEST1");
assertThat(error1.getMessage()).isEqualTo("Test One");
assertThat(error2.getCode()).isEqualTo("TEST2");
assertThat(error2.getMessage()).isEqualTo("Test Two");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does readValueDeserializesJson() do?
readValueDeserializesJson() is a function in the spring-boot codebase.
What does readValueDeserializesJson() call?
readValueDeserializesJson() calls 2 function(s): getContent, getJsonMapper.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free