XML zu JSON
Wandelt XML in JSON um und behandelt Attribute und wiederholte Elemente sinnvoll.
Eingabe
Ergebnis
Verwendung
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.
Häufige Fragen
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.
Ähnliche Tools
JSON zu XML
Wandelt ein JSON-Dokument in wohlgeformtes XML mit konfigurierbarem Wurzelelement um.
XML-Formatierer
Formatiert XML mit einheitlicher Einrückung und optionalem Attributumbruch.
YAML zu JSON
Wandelt YAML-Dokumente in JSON für APIs und JavaScript-Anwendungen um.
YAML-Formatierer
Analysiert und serialisiert YAML mit einheitlicher Einrückung und Validierung neu.
YAML-Validator
Validiert die YAML-Syntax und liefert einen präzisen Fehler bei falscher Einrückung oder Struktur.
XML-Validator
Prüft, ob ein XML-Dokument wohlgeformt ist, und zeigt eine klare Fehlerbeschreibung.