In this Spring Boot tutorial we will see how to modify the content of json in the response body. We will use Jackson’s @JsonView functionality.

The source code of this tutorial is here

There are couple of ways to modify the response body json in spring. And using JsonView is one of them. We will see how to create type classes and use them both in our model object and in our controller.

#spring-boot #java #programming #developer

Response Body Manipulation with JsonView in Spring Boot
8.40 GEEK