Ejemplo
<book id="7"><title>North</title><tag>a</tag><tag>b</tag></book> becomes an object with @attributes.id, title and tag as an array.
DESARROLLADORES
Convierte XML a JSON legible en el navegador. Conserva atributos, elementos repetidos y texto con un mapeo explicado.
<book id="7"><title>North</title><tag>a</tag><tag>b</tag></book> becomes an object with @attributes.id, title and tag as an array.
Pega XML para previsualizar el JSON. Atributos: @attributes; texto mixto: #text; etiquetas repetidas: listas.
Attributes are grouped under @attributes. Text-only elements become strings; elements containing both attributes or children store their text under #text. Repeated child names become arrays.
Los archivos se procesan localmente en este navegador.