spring-framework / org.springframework.web.servlet.view.json / MappingJackson2JsonView / <init>

<init>

MappingJackson2JsonView()

Construct a new MappingJackson2JsonView using default configuration provided by Jackson2ObjectMapperBuilder and setting the content type to application/json.

MappingJackson2JsonView(objectMapper: ObjectMapper)

Construct a new MappingJackson2JsonView using the provided ObjectMapper and setting the content type to application/json.

Since
4.2.1