JSON (JavaScript Object Notation)
एक लाइटवेट, टेक्स्ट-आधारित डेटा इंटरचेंज फॉर्मेट। JSON मानव-पठनीय और मशीन-पार्सेबल दोनों है, जो इसे वेब API, कॉन्फ़िगरेशन फ़ाइलों और डेटा स्टोरेज के लिए सबसे लोकप्रिय फॉर्मेट बनाता है।
MIME Type
application/json
प्रकार
टेक्स्ट
संपीड़न
दोषरहित
लाभ
- + Human-readable and writable with minimal syntax
- + Native parsing in every programming language
- + Dominant format for REST APIs and web services
- + Lightweight — less verbose than XML
हानियाँ
- − No comment syntax — cannot annotate configuration files
- − No native date, binary, or schema types
- − Trailing commas cause parse errors in strict parsers
.JSON कब उपयोग करें
Web API रिस्पॉन्स, कॉन्फ़िगरेशन फ़ाइलें, NoSQL डेटाबेस, इंटर-प्रोसेस कम्युनिकेशन, और मोबाइल ऐप डेटा स्टोरेज।
तकनीकी विवरण
JSON छह डेटा टाइप को सपोर्ट करता है: strings, numbers, booleans, null, arrays और objects। एन्कोडिंग UTF-8 (डिफ़ॉल्ट), UTF-16 या UTF-32 हो सकती है। इसमें कमेंट्स या trailing commas का सपोर्ट नहीं है। अधिकतम nesting depth इम्प्लिमेंटेशन पर निर्भर करती है।
इतिहास
Douglas Crockford ने 2000 के दशक की शुरुआत में JSON को लोकप्रिय बनाया, जो JavaScript ऑब्जेक्ट सिंटैक्स पर आधारित है। ECMA-404 (2013) और RFC 8259 (2017) द्वारा इसे मानकीकृत किया गया। यह XML का हल्का विकल्प बनकर वेब डेवलपमेंट का मानक बन गया।
.JSON से रूपांतरित करें
.JSON में रूपांतरित करें
संबंधित फ़ॉर्मेट
संबंधित शब्द
Learn More
File Format Conversion: A Complete Guide
Converting files between formats is a daily task for professionals across every industry. This comprehensive guide covers document, image, audio, …
How to Generate Strong Random Passwords
Password generation requires cryptographic randomness and careful character selection. This guide covers the principles behind strong password generation, entropy calculation, …
JSON vs YAML vs TOML: Choosing a Configuration Format
Configuration files are the backbone of modern applications. JSON, YAML, and TOML each offer different trade-offs between readability, complexity, and …
Meta Tags for SEO: Title, Description, and Open Graph
Meta tags control how your pages appear in search results and social media shares. This guide covers the essential meta …
Text Encoding Explained: UTF-8, ASCII, and Beyond
Text encoding determines how characters are stored as bytes. Understanding UTF-8, ASCII, and other encodings prevents garbled text, mojibake, and …
CSV vs JSON vs XML: Data Exchange Formats Compared
Data exchange formats serve different needs. CSV excels at tabular data, JSON dominates web APIs, and XML powers enterprise integrations. …