Home / Class/ JacksonJsonParserTests Class — spring-boot Architecture

JacksonJsonParserTests Class — spring-boot Architecture

Architecture documentation for the JacksonJsonParserTests class in JacksonJsonParserTests.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/test/java/org/springframework/boot/json/JacksonJsonParserTests.java lines 35–57

class JacksonJsonParserTests extends AbstractJsonParserTests {

	@Override
	protected JsonParser getParser() {
		return new JacksonJsonParser();
	}

	@Test
	@SuppressWarnings("unchecked")
	void instanceWithSpecificObjectMapper() {
		JsonMapper jsonMapper = spy(new JsonMapper());
		new JacksonJsonParser(jsonMapper).parseMap("{}");
		then(jsonMapper).should().readValue(eq("{}"), any(TypeReference.class));
	}

	@Override
	@Disabled("Jackson's array handling is no longer stack bound so protection has been removed.")
	// https://github.com/FasterXML/jackson-databind/commit/8238ab41d0350fb915797c89d46777b4496b74fd
	void listWithRepeatedOpenArray(String input) {

	}

}

Analyze Your Own Codebase

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

Try Supermodel Free