Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

XML to JSON with custom column names

$
0
0

HI experts,

In below i need to convert that xml to defined json.

I mean my xml source Load_Number should be converted to load-nbr with that value.

So i will receive an xml document and i need to convert that to json in a efficient way.

<TN_TestData><Load_Number>9436394</Load_Number><Location_Code>PNCT</Location_Code></TN_TestData>

   {"load-nbr":"9436394","loc-code":"PNCT"}



Viewing all articles
Browse latest Browse all 935

Trending Articles



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