JSON
What is JSON?
In one sentence: JSON is a simple text format for storing and sending structured data, using keys and values.
It looks like {"name": "Sam", "age": 10}. Both humans and computers can read it easily. Most APIs, including AI APIs, send and receive JSON.
What does JSON look like?
A model returning {"sentiment": "positive", "score": 0.92} is giving a JSON answer.
Why does JSON matter?
JSON is the common language that lets AI connect with other software.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/json/">JSON, explained simply</a> (The AI Math Dictionary)