JavaScript Object Notation
Subject: Computer and Technology noun /ˈdʒɑː.vəˌskrɪpt ˈɑːb.dʒɛkt noʊˈteɪ.ʃən/ 1 definition
- data-serialization
- data-interchange
- web-development
- api-design
-
Definition (noun)
Entry #176 · UpdatedJavaScript Object Notation (JSON) is a lightweight, language-independent, text-based data interchange format derived from JavaScript object syntax for storing and transmitting structured data. It organizes information into two core structures—collections of string-keyed name-value pairs (objects) and ordered lists of values (arrays)—supporting strings, numbers, booleans, and
null. Designed for interoperability across programming languages and network APIs, JSON enforces strict syntax rules and intentionally excludes comments, trailing commas, functions, and native date or binary types to keep parsing simple, deterministic, and portable.Common Forms
Standard JSON (RFC 8259): Strict, comment-free syntax requiring double-quoted keys and strings without trailing commas, commonly minified for compact network transport or pretty-printed for human inspection.
Newline-Delimited JSON (NDJSON / JSON Lines): A streaming layout placing one complete JSON value per line, allowing log pipelines and analytics tools to ingest, append, and parse large datasets incrementally.
JSON with Comments (JSONC): A relaxed variant permitting
//and/* */comments and trailing commas, widely adopted for developer-facing configuration files such as editor settings andtsconfig.json.JSON-LD (JSON for Linking Data): A W3C-standardized format that embeds
@contextvocabulary mappings inside valid JSON objects to represent linked data graphs and structured web metadata.
Example
When an e-commerce checkout service queries a payment API, the server responds with
Content-Type: application/jsonand a payload such as{"orderId": 4821, "total": 79.99, "paid": true, "items": ["keyboard"]}. Using standard parsers, a Python service loads that payload into a native dictionary while a browser client deserializes the exact same text into a JavaScript object.