skip to Main Content

XML to JSON – norm?

Say your XML file is: <CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> </CD> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> </CD> If you transform it into JSON, should it be (version 1): { "CATALOG": { "CD": [ { "ARTIST": "Bob Dylan", "TITLE": "Empire…

VIEW QUESTION
Back To Top
Search