Kibadilishaji cha JSON kwenda XML
Geuza data ya JSON kuwa XML.
Hufanya kazi kwenye kivinjari chako. Faili zako hazitoki kamwe kwenye kifaa. Tazama jinsi ya kuthibitisha
…
Jinsi ya kufanya
- 1Jaza visanduku
Andika namba zako au chagua chaguo unazohitaji.
- 2Angalia matokeo
Jibu husasishwa mara moja unapobadilisha thamani.
- 3Litumie
Nakili matokeo au yaandike. Hakuna kinachotumwa popote.
About this tool
Paste JSON and get XML. Objects become nested elements, lists repeat the element and special characters are escaped. Keys that are not valid XML names are cleaned. Choose the root element name and the indentation. The conversion runs in your browser.
When to use it
Convert JSON data into XML.
Tips
Keys become tags. Arrays repeat the tag.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
Notes
JSON arrays become repeated elements and keys become tag names, so keys must be valid XML names. Attributes are not generated, only elements.
Vidokezo vya matokeo bora
Angalia kila kisanduku kabla ya kuamini matokeo, kwa sababu nambari moja isiyo sahihi hubadilisha jibu zima. Tumia nambari kamili kutoka kwenye hati ya mshahara, ankara, cheti au mkataba na uandike tarehe uliyohesabu. Viwango, vizingiti na sheria hubadilika mara kwa mara, kwa hivyo kwa kodi, ada na masuala ya kisheria chukulia matokeo kuwa makadirio na uyathibitishe na chanzo rasmi kilichotajwa kwenye ukurasa huu. Unaweza kujaribu hali nyingi unavyotaka; hakuna kinachohifadhiwa wala kutumwa na kupakia upya ukurasa husafisha visanduku.
Kwa ufupi
- Kategoria: Nyaraka
- Hufanya kazi kwenye kivinjari, bila usajili, bila kupakia.
- Taarifa unazoingiza hubaki kwenye kifaa chako.
- Inapatikana kwa lugha nyingi.
- Maudhui yalikaguliwa mwisho:
Maswali yanayoulizwa mara kwa mara
How are lists converted?
Each item in a list becomes a repeated element with the name of its key. A list at the top level uses the name item.
What about attributes?
JSON has no attributes, so every value becomes an element.
How are arrays shown?
As repeated elements.
What is the root tag?
You can set it.
What if my key has a space?
Rename it, since XML tags cannot contain spaces.