XML to JSON

Convert XML into JSON. Attributes are prefixed with @, repeated elements become arrays.

JSON Output