📄 XML to JSON

Convert XML to JSON format
Input
Output
Examples:
XML Example
<a x="1.234" y="It's"/>
JSON Example
{
  "a": {
    "_attributes": {
      "x": "1.234",
      "y": "It's"
    }
  }
}