← Back to topic library
Dev MaxxingBeginnerAPIs60 sec
JSON
JSON is a lightweight text format for representing structured data, such as objects and lists, that is easy for both humans and machines to read and write.
Prerequisite: API
What matters
Because nearly every programming language can parse and generate it, JSON is the most common format APIs use to exchange structured data between systems.
Example
An API might return '{"id": 42, "title": "Hello World"}' as the JSON representation of one blog post.
Common misconception
JSON is not a programming language or a database; it is purely a data format for representing and exchanging structured information.
Recall question
Why is JSON commonly used for exchanging data between different systems?
Keywords and related concepts
JSONdata formatserializationapi