Kigeuzi cha XML hadi JSON rahisi zaidi
Zana hii ya mtandaoni isiyolipishwa hukuruhusu kubadilisha faili ya XML kuwa imeshindwa ya JSON. Bandika tu XML yako katika fomu iliyo hapa chini na itabadilishwa kuwa JSON papo hapo. Hakuna haja ya kuhifadhi au kusakinisha programu yoyote. Bure
Mifano ya kubadilishaji cha XML hadi JSON
XML
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<row-0>
<title>Json To Csv</title>
<slug>json-to-csv</slug>
<year>2019</year>
</row-0>
<row-1>
<title>Json To Array</title>
<slug>json-to-array</slug>
<year>2019</year>
</row-1>
<row-2>
<title>Json To Tsv</title>
<slug>json-to-tsv</slug>
<year>2019</year>
</row-2>
<row-3>
<title>Json To Yaml</title>
<slug>json-to-yaml</slug>
<year>2019</year>
</row-3>
</root>
JSON
{
"row-0": {
"title": "Json To Csv",
"slug": "json-to-csv",
"year": "2019"
},
"row-1": {
"title": "Json To Array",
"slug": "json-to-array",
"year": "2019"
},
"row-2": {
"title": "Json To Tsv",
"slug": "json-to-tsv",
"year": "2019"
},
"row-3": {
"title": "Json To Yaml",
"slug": "json-to-yaml",
"year": "2019"
}
}
Chombo badilishaji XML kwa JSON ni nini?
Kigeuzi hiki cha XML hadi JSON hubadilisha data na kushindwa kwa XML kuwa data na kushindwa kwa JSON. Kigeuzi hiki huruhusu kubinafsisha ingizo la XML na towe la JSON. Pia inakubali kushindwa za XML zilizo na vibambo maalum vya kuweka safu wima na vibambo vya kunukuu sehemu. Inaauni mistari ya maoni na unaweza kupuuza kwa hiari mistari tupu. Unaweza pia kubadilisha ni nafasi ngapi za kutumia katika ujongezaji wa pato la JSON.
Jinsi ya kubadili XML kwa JSON?
Hatua ya 1: Chagua ingizo lako. Ingiza Data.
Hatua ya 2: Chaguzi za towe (si lazima) Chaguzi za towe.
Hatua ya 3: Tengeneza pato.