Spring REST Service: how to configure to remove null objects in json response
Spring REST Service: how to configure to remove null objects in json response spring
spring
Since Jackson is being used, you have to configure that as a Jackson property. In the case of Spring Boot REST services, you have to configure it in application.properties or application.yml: