Skip to content

Glossary: JavaScript Beyond the Basics

JSON

Also written: JavaScript Object Notation, JSON.stringify, JSON.parse

A text format for data that looks like JavaScript objects but is stricter: double-quoted keys, no comments, and only strings, numbers, booleans, `null`, arrays and objects. `JSON.stringify` writes it and `JSON.parse` reads it.

Where the book teaches it

Related terms

toJSONReviver / replacer