XML to JSON

(and back)

A Simple to use JSON to XML and XML to JSON converter utility. You are free to use the code in your own codebase: obj2xml.js

JSON2XML

declaration:
generate doctype:
use attributes:
indentation:
 

XML2JSON