JSON

JavaScript Object Notation: a text format for representing structured data that software systems can store and exchange.

Last updated

Software & Data

In plain English

JSON represents data using objects with named fields, lists, and simple values such as text, numbers, and true or false. Applications written in many programming languages can read and write it, making it useful for exchanging data through APIs. It describes data rather than instructions for a program to execute.

Example

A billing API returns {"plan":"pro","active":true} to a dashboard. The application reads the plan name and active status to display the account details.

Sources

  1. MDN Web Docs: JSON
  2. IETF / RFC Editor: RFC 8259: The JavaScript Object Notation (JSON) Data Interchange Format