Forum Discussion
4 Replies
- nmrao
Champion Level 1
TaraWilfred,
Please check this video to see if this helps.
https://www.youtube.com/watch?v=L2SMZ9bbDvE
No idea about WSO2 app.- TaraWilfredNew Contributor
Thanks a million. This seems to be almost what I was looking for. Is there a way to create an API rather than a mock API to convert whatever client request that comes in JSON format to XML or vise versa?
- nmrao
Champion Level 1
Not sure if I got your question right.
Regarding conversion from Json to xml or vice-versa, it is directly depends on the data.
See below sample xml to json:
https://github.com/nmrao/groovyScripts/blob/master/json/ConvertDBResultToJson.groovyOnline demo for the same (above) is here