Spring Boot Endpoint returning both XML AND JSON with Jackson

Subscribers:
11,000
Published on ● Video Link: https://www.youtube.com/watch?v=c9xeWDwkw7A



Duration: 18:38
2,727 views
35


Use Jackson to control the xml output and set the list wrapper with annotations.



Enjoy! :-)
Thank you for commenting and asking questions.

Get 25 % discount on your Minecraft servers at Shockbyte.com by using this referral link:
https://shockbyte.com/billing/aff.php?aff=2582

The code is located here:
https://github.com/ekim197711/spring-xml-and-json-endpoint
Follow me on twitter:
https://twitter.com/MikeMoelNielsen
Support me on Patreon:
https://www.patreon.com/mikemoellernielsen

As an Amazon Associate I earn from qualifying purchases.
Check out the stuff that I like (always updated):
https://kit.co/MikeMoelNielsen/cool-stuff-that-i-like







Tags:
demo
tutorial
programming
xml
json
jackson
rest
endpoint
accept
header
java
spring
spring boot