0

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?

M. Suurland
  • 725
  • 12
  • 31
Gil
  • 137
  • 1
  • 8
  • 1
    This may help :- http://stackoverflow.com/questions/14734741/converting-json-to-xml-and-vice-versa-using-jackson-api-and-jaxb-annotations – Akhil May 24 '16 at 10:11
  • @akhil Does the property holds?I made it possible, convert xml to json and visa versa by JSONObject,but in that way the property doesn't hold at all – Gil May 24 '16 at 10:23

0 Answers0