Skip to content
← Back to glossary

JSON

Learn in the textbookData Description Languages (Markup Languages and Structured Data Formats)

DefinitionJSON is a lightweight data description format that uses no tags and represents data mainly as pairs of a key (item name) and a value enclosed in curly braces.

ExplanationFor example, in {"product": "notebook", "stock": 42}, a colon joins each key to its value and commas separate the pairs. It grew out of the way JavaScript writes objects, but today it is widely used for exchanging data between web services regardless of programming language.

Memory hookJavaScript Object Notation = the way JavaScript writes objects. Its origin is right there in the name.

Related past-exam questions(1 question)