glossary2 min read

What is JSON?

JSON (JavaScript Object Notation) is the standard data format for web APIs. Learn the syntax and common uses.

JSON (JavaScript Object Notation) is a lightweight text-based data format used universally in web development. Every web API, configuration file, and data exchange between frontend and backend uses JSON. The format supports six data types: strings, numbers, booleans, null, objects (key-value pairs in curly braces), and arrays (ordered lists in square brackets). JSON is human-readable and easy to parse in every programming language. It replaced XML as the dominant data exchange format because it is simpler, smaller, and natively supported in JavaScript.