Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

How do I convert a JSON string to XML in ABAP

$
0
0

Hello All,

   I have a JSON string, which I get from my javascript. It is a complex JSON with nodes inside nodes.

I would like to create an XML from this JSON Object. And use this XML for further processing. I tried few things mentioned in SCN but did not work out properly. Could you please help me with this.

 

for ex. the JSON structure I get is

{

"is_model":

     {

          "t":"DD",

          "i":"Value for DD"

     },

"is_qty":

     {

          "t":"TX",

          "i":"2016

     },

"is_ctl":

     {

          "t":"DD",

          "i":"Single Apex"

     },

"is_ctr_qty":

     {

          "t":"TX",

          "i":"2200"

     }

}

 

Regards,


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>