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

ofFormatString() — spring-boot Function Reference

Architecture documentation for the ofFormatString() function in JsonWriterTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  b72d0dba_7a44_88c4_5ead_12463d2ebca4["ofFormatString()"]
  a96e5e16_d841_5c02_5166_b0e62575b560["writeToStringWritesToString()"]
  a96e5e16_d841_5c02_5166_b0e62575b560 -->|calls| b72d0dba_7a44_88c4_5ead_12463d2ebca4
  89d98d6a_4f85_fa20_5b73_ed1e852424b3["writeReturnsWritableJson()"]
  89d98d6a_4f85_fa20_5b73_ed1e852424b3 -->|calls| b72d0dba_7a44_88c4_5ead_12463d2ebca4
  6934b2cd_32a5_32cc_0a04_f5e686c92ba9["withSuffixAddsSuffixToWrittenString()"]
  6934b2cd_32a5_32cc_0a04_f5e686c92ba9 -->|calls| b72d0dba_7a44_88c4_5ead_12463d2ebca4
  12b3f7e6_1fb5_1cfa_6fc2_6cab8974d185["withSuffixWhenSuffixIsNullReturnsExistingWriter()"]
  12b3f7e6_1fb5_1cfa_6fc2_6cab8974d185 -->|calls| b72d0dba_7a44_88c4_5ead_12463d2ebca4
  c1a0d906_2eb8_499b_ea49_7d77642e86fa["withSuffixWhenSuffixIsEmptyReturnsExistingWriter()"]
  c1a0d906_2eb8_499b_ea49_7d77642e86fa -->|calls| b72d0dba_7a44_88c4_5ead_12463d2ebca4
  3622e8f4_13be_2d02_6fdf_7f0f17b2376c["withNewLineAtEndAddsNewLineToWrittenString()"]
  3622e8f4_13be_2d02_6fdf_7f0f17b2376c -->|calls| b72d0dba_7a44_88c4_5ead_12463d2ebca4
  style b72d0dba_7a44_88c4_5ead_12463d2ebca4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/json/JsonWriterTests.java lines 203–205

	private static <T> JsonWriter<T> ofFormatString(String json) {
		return (instance, out) -> out.append(json.formatted(instance));
	}

Domain

Subdomains

Called By

  • withNewLineAtEndAddsNewLineToWrittenString()
  • withSuffixAddsSuffixToWrittenString()
  • withSuffixWhenSuffixIsEmptyReturnsExistingWriter()
  • withSuffixWhenSuffixIsNullReturnsExistingWriter()
  • writeReturnsWritableJson()
  • writeToStringWritesToString()

Frequently Asked Questions

What does ofFormatString() do?
ofFormatString() is a function in the spring-boot codebase.
What calls ofFormatString()?
ofFormatString() is called by 6 function(s): withNewLineAtEndAddsNewLineToWrittenString, withSuffixAddsSuffixToWrittenString, withSuffixWhenSuffixIsEmptyReturnsExistingWriter, withSuffixWhenSuffixIsNullReturnsExistingWriter, writeReturnsWritableJson, writeToStringWritesToString.

Analyze Your Own Codebase

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

Try Supermodel Free