JSON

noun

say it: “JAY-sun” /ˈdʒeɪsən/

JavaScript Object Notation: a plain-text format for data, with names and values in curly braces.

What is JSON?

JSON (JavaScript Object Notation) is the text format most APIs use for data: objects in { }, lists in [ ], and strings, numbers, true/false and null.

{
  "title": "Pancakes",
  "minutes": 20,
  "vegetarian": true,
  "tags": ["breakfast", "quick"]
}

In a sentence

  • “The API sends each product as JSON, like {"name": "Chai", "price": 18}.”

Level: Novice · More REST API terms at this level

Updated