processValueWhenInPairs() — spring-boot Function Reference
Architecture documentation for the processValueWhenInPairs() function in JsonWriterTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 8f968f58_6909_e0c4_0307_59e7184a9000["processValueWhenInPairs()"] 0d94726e_741b_9208_9d8c_ca4cd0f4cf12["of()"] 8f968f58_6909_e0c4_0307_59e7184a9000 -->|calls| 0d94726e_741b_9208_9d8c_ca4cd0f4cf12 ff35061f_3c60_c5ba_a694_e043d2fbd62a["usingPairs()"] 8f968f58_6909_e0c4_0307_59e7184a9000 -->|calls| ff35061f_3c60_c5ba_a694_e043d2fbd62a bb44266d_e667_891f_fde5_db7752f799e6["stringCapitalize()"] 8f968f58_6909_e0c4_0307_59e7184a9000 -->|calls| bb44266d_e667_891f_fde5_db7752f799e6 style 8f968f58_6909_e0c4_0307_59e7184a9000 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/json/JsonWriterTests.java lines 829–837
@Test
void processValueWhenInPairs() {
JsonWriter<Map<?, ?>> writer = JsonWriter.of((members) -> {
members.add().usingPairs(Map::forEach);
members.applyingValueProcessor(ValueProcessor.of(stringCapitalize()));
});
assertThat(writer.writeToString(Map.of("spring", "boot"))).isEqualTo("""
{"spring":"Boot"}""");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does processValueWhenInPairs() do?
processValueWhenInPairs() is a function in the spring-boot codebase.
What does processValueWhenInPairs() call?
processValueWhenInPairs() calls 3 function(s): of, stringCapitalize, usingPairs.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free