Home / Class/ SharedJsonMapper Class — spring-boot Architecture

SharedJsonMapper Class — spring-boot Architecture

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

Entity Profile

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/json/SharedJsonMapper.java lines 31–51

public final class SharedJsonMapper {

	private static final JsonMapper INSTANCE;

	static {
		INSTANCE = JsonMapper.builder()
			.enable(SerializationFeature.INDENT_OUTPUT)
			.disable(DeserializationFeature.FAIL_ON_TRAILING_TOKENS)
			.disable(JsonWriteFeature.ESCAPE_FORWARD_SLASHES)
			.propertyNamingStrategy(PropertyNamingStrategies.LOWER_CAMEL_CASE)
			.build();
	}

	private SharedJsonMapper() {
	}

	public static JsonMapper get() {
		return INSTANCE;
	}

}

Analyze Your Own Codebase

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

Try Supermodel Free