JSON to XML converter that handles attributes - javascript

buywowgoldlwu

New Member
I have a JSON object that I unfortunately need to convert to XML. The XML has to be very specific including what parts are attributes and what parts are values. Is there any JSON to XML javascript tool that will allow one to specify which parts are attributes? For example, this JSON (ignore any formatting errors in this JSON example as I'm just typing it - assume the actual JSON is correctly formatted):\[code\]{content: { type: "text", content: "blah blah blah" }}\[/code\]to this XML:\[code\]<content type="text">blah blah blah</content>\[/code\]Thanks.
 
Back
Top