Hello R.Neelima,
I have not tried the standard XML to JSON conversion but there also is an Adapter module for that - maybe try to use that:
https://blogs.sap.com/2015/03/18/jsontransformbean-part-2-converting-xml-to-json-content/
Best regards, Peter
Add comment