MappingJackson2HttpMessageConverter
Learn MappingJackson2HttpMessageConverter (REST API with Spring MVC, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes MappingJackson2HttpMessageConverter is the converter that reads and writes JSON using the Jackson ObjectMapper . Media types : it supports application/json and application/*+json . Automatic : it is registered when Jackson is on the classpath, and Spring Boot gives it a pre-configured ObjectMapper .
More lessons in REST API with Spring MVC
- REST Architecture
- RESTful API Design
- REST Controller
- @RestController
- JSON Request
- JSON Response
- Jackson
- ObjectMapper
- JSON Serialization
- JSON Deserialization
- HttpMessageConverter
- ResponseEntity
- HTTP Status Codes
- API Versioning
- REST API Best Practices
- Mini Project: REST Details: PUT vs PATCH, Pagination, ETag and Allowed Methods