Currently I am working on server side in Java with an API that accepts only XML request,and I get data in JSON format from the client side.The problem is that the API accepts a very specific format that I have to match,the thing that I would like to do is to get an JSON request and parse it to XML and visa versa in such matter:
[jsonToXML(x) = XMLToJson^{-1}(x)]
Is there any functions that hold this propety?