Skip to main content

JSON Converter

Learn JSON Converter (HTTP Message Converters, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes JSON converter is the HttpMessageConverter that maps JSON text to Java objects and back; in Spring it is Jackson by default. Request : @RequestBody with Content-Type: application/json deserializes into the parameter type. Response : returning an object from a @RestController serializes it to JSON.

More lessons in HTTP Message Converters