कोड, डेटा और QR टूल

XML से JSON कन्वर्टर

ब्राउज़र में XML को कॉपी योग्य JSON बनाएँ और attributes, repeated child elements तथा mixed text स्पष्ट रखें।

ब्राउज़र में ही कामखाता बनाने की ज़रूरत नहींगोपनीयता विवरण ↗

अधिकतम 200,000 अक्षरों तक मान्य XML दर्ज करें। पार्सिंग ब्राउज़र में स्थानीय रूप से होती है।

उपयोग कैसे करें

उपयोग कैसे करें

  1. 200,000 characters तक का valid XML paste करें।
  2. Convert करें और elements, attributes, arrays व text की JSON mapping देखें।
  3. JSON कॉपी करें या .json फ़ाइल डाउनलोड करें।

पूर्वानुमेय XML mapping

Document element top-level JSON property बनता है। Child elements properties, repeated siblings arrays बनते हैं और attributes @attributes के अंतर्गत समूहित होते हैं। Child elements के साथ आने वाला text #text में रहता है ताकि mixed content चुपचाप न खोए।

स्पष्ट सीमाओं के साथ स्थानीय parsing

Parsing, conversion, copy और download तैयारी ब्राउज़र में होती है। Comments और processing instructions अनदेखे होते हैं, CDATA text बनता है और खाली elements empty strings बनते हैं। Converter external entities या remote resources नहीं लाता।

अक्सर पूछे जाने वाले सवाल

आप यह भी जानना चाहेंगे

दोहराए XML elements कैसे दिखते हैं?

एक ही नाम वाले repeated sibling elements अपने मूल क्रम में JSON array बनते हैं।

XML attributes कहाँ जाते हैं?

संबंधित element के @attributes object में एकत्र होते हैं।

क्या conversion XML upload करता है?

नहीं। XML parsing और JSON conversion ब्राउज़र में स्थानीय रूप से होते हैं।