Learn AI Math

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?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.