Da XML a JSON
Converte l'XML in JSON gestendo in modo sensato attributi ed elementi ripetuti.
Input
Risultato
Come usare
Converting XML to JSON
Press Convert to obtain a JSON representation. Attributes use the at sign prefix.
- Paste XML into the input editor.
- Press Convert.
- Copy the JSON output.
Domande frequenti
How are attributes represented?
Each attribute becomes a property named with an at sign, for example at id.
How are repeated elements handled?
When the same tag appears more than once at one level the values are collected into an array.
Strumenti correlati
Da JSON a XML
Converte un documento JSON in XML ben formato con un elemento radice configurabile.
Formattatore XML
Formatta l'XML con indentazione uniforme e ritorno a capo degli attributi opzionale.
Da YAML a JSON
Converte i documenti YAML in JSON per API e applicazioni JavaScript.
Formattatore YAML
Analizza e riserializza YAML con indentazione uniforme e convalida.
Validatore YAML
Convalida la sintassi YAML e ottieni un errore preciso quando l'indentazione o la struttura sono errate.
Validatore XML
Verifica che un documento XML sia ben formato e mostra una chiara descrizione dell'errore.