I have a spring-boot 1.1.7 application that uses Thymeleaf for much of the UI, so the response from my controllers hasn\'t really been a concern. However, now I need to pro
It is very simple Just add jackson-dataformat-xml dependency in your pom.xml file after that your project is able to handle xml/json request or response . add
com.fasterxml.jackson.dataformat
jackson-dataformat-xml
dependency and add headers content-type or accept as per your need spring boot will handle request or response in json/xml. For full article visit : How to handle xml/json in spring boot