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

flat() — spring-boot Function Reference

Architecture documentation for the flat() function in ContextPairs.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 3

Entity Profile

Dependency Diagram

graph TD
  49f13ae8_771b_d008_2d8b_46538ec0b33c["flat()"]
  d62b48da_3c07_59bc_6af2_e39612bdd3c5["flat()"]
  d62b48da_3c07_59bc_6af2_e39612bdd3c5 -->|calls| 49f13ae8_771b_d008_2d8b_46538ec0b33c
  67ed7d7a_5484_7c52_e419_f0bc9ea9b07e["jsonMembers()"]
  67ed7d7a_5484_7c52_e419_f0bc9ea9b07e -->|calls| 49f13ae8_771b_d008_2d8b_46538ec0b33c
  26f934f9_8400_ac5b_355a_4e6b731fff3b["jsonMembers()"]
  26f934f9_8400_ac5b_355a_4e6b731fff3b -->|calls| 49f13ae8_771b_d008_2d8b_46538ec0b33c
  d62b48da_3c07_59bc_6af2_e39612bdd3c5["flat()"]
  49f13ae8_771b_d008_2d8b_46538ec0b33c -->|calls| d62b48da_3c07_59bc_6af2_e39612bdd3c5
  3c34fdcb_17ee_1b86_3216_2c3c291db02d["joining()"]
  49f13ae8_771b_d008_2d8b_46538ec0b33c -->|calls| 3c34fdcb_17ee_1b86_3216_2c3c291db02d
  style 49f13ae8_771b_d008_2d8b_46538ec0b33c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/structured/ContextPairs.java lines 187–189

		void flat(T item, BiConsumer<String, Object> pairs) {
			this.addedPairs.forEach((action) -> action.accept(item, joining(pairs)));
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does flat() do?
flat() is a function in the spring-boot codebase.
What does flat() call?
flat() calls 2 function(s): flat, joining.
What calls flat()?
flat() is called by 3 function(s): flat, jsonMembers, jsonMembers.

Analyze Your Own Codebase

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

Try Supermodel Free