It's just asking for encoding issues. For example, what if someone sends a request with an XML tag in the payload? I doubt that will work right now.
There are libraries to do this correctly for you. If you use Immutables you pretty much get this for free.
It's just asking for encoding issues. For example, what if someone sends a request with an XML tag in the payload? I doubt that will work right now. There are libraries to do this correctly for you. If you use Immutables you pretty much get this for free.