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

writeJavaNioPathShouldBeSerializedAsStringOnWindows() — spring-boot Function Reference

Architecture documentation for the writeJavaNioPathShouldBeSerializedAsStringOnWindows() function in JsonValueWriterTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  a2fc46ed_3c0d_fe1a_e2af_60222904f991["writeJavaNioPathShouldBeSerializedAsStringOnWindows()"]
  7fc2b33a_7e77_5c75_2c77_4db301c6cfdf["doWrite()"]
  a2fc46ed_3c0d_fe1a_e2af_60222904f991 -->|calls| 7fc2b33a_7e77_5c75_2c77_4db301c6cfdf
  89a357dc_1a31_85ba_97ae_69c518e780d2["write()"]
  a2fc46ed_3c0d_fe1a_e2af_60222904f991 -->|calls| 89a357dc_1a31_85ba_97ae_69c518e780d2
  f658f7a9_f73d_0782_4281_7e4105e17118["quoted()"]
  a2fc46ed_3c0d_fe1a_e2af_60222904f991 -->|calls| f658f7a9_f73d_0782_4281_7e4105e17118
  style a2fc46ed_3c0d_fe1a_e2af_60222904f991 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/json/JsonValueWriterTests.java lines 258–262

	@Test // gh-44502
	@EnabledOnOs(OS.WINDOWS)
	void writeJavaNioPathShouldBeSerializedAsStringOnWindows() {
		assertThat(doWrite((valueWriter) -> valueWriter.write(Path.of("a/b/c")))).isEqualTo(quoted("a\\\\b\\\\c"));
	}

Domain

Subdomains

Frequently Asked Questions

What does writeJavaNioPathShouldBeSerializedAsStringOnWindows() do?
writeJavaNioPathShouldBeSerializedAsStringOnWindows() is a function in the spring-boot codebase.
What does writeJavaNioPathShouldBeSerializedAsStringOnWindows() call?
writeJavaNioPathShouldBeSerializedAsStringOnWindows() calls 3 function(s): doWrite, quoted, write.

Analyze Your Own Codebase

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

Try Supermodel Free