शब्दकोश · प्रोग्रामिंग

JSON (JavaScript Object Notation)

JSON is a lightweight text format for structured data built from objects, arrays, strings, numbers, booleans and null, used by most web APIs.

अपडेट: अक्टूबर 6, 2026

JSON (JavaScript Object Notation) is a plain-text format for representing structured data using key-value objects, ordered arrays and a few basic value types. It is language-independent, and nearly every programming language can read and write it.

Why it matters

JSON is the default payload format for web APIs, configuration files and webhooks. It is compact, human-readable and easy to parse. Because the rules are strict, a single stray comma makes the whole document invalid, which is a frequent cause of API errors.

Example

{
  "name": "Asha",
  "active": true,
  "tags": ["admin", "beta"],
  "manager": null,
  "visits": 12
}

Keys must be double-quoted strings. Values can be a string, number, true, false, null, an object or an array.

Common mistakes

  • Adding a trailing comma after the last item or using single quotes, both of which are invalid JSON.
  • Adding comments; standard JSON has none.
  • Storing large integers or precise decimals and losing accuracy when a language parses them as floating point.

Get notified when this term updates

Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.

यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.