AI engineering glossary · Web APIs HTTP
What is JSON?
JSON (also called JavaScript Object Notation): JavaScript Object Notation is a lightweight text format for structured data, built from objects (key-value pairs in braces), arrays (ordered lists in brackets), strings, numbers, booleans and null. It is easy for people to read and for programs to parse, which makes it the usual format for web API messages.
JSON: an example
{"city": "Pune", "temp_c": 31.5, "tags": ["humid", "cloudy"]} is a JSON object with three fields.
Related terms
More Web APIs HTTP terms
Where you learn it
JSON is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.