23. All About JSON (aka JavaScript Object Notation)

In This Chapter

  • Understand anonymous functions

  • Learn how to invoke a block of code immediately

  • Take our knowledge of scope further by creating data that is private

When it comes to storing, retrieving, or transmitting data, there are a bunch of file formats and data structures that you can use. You’ve probably used text files, Word documents, Excel spreadsheets, zip files, and so on to deal with the various kinds of data you handle. On the web front, there is one format that reigns supreme over all others. It runs faster. It jumps higher. It has a shinier (and furrier) coat of fur. That format is known as JSON—short for JavaScript Object Notation.

In this article, we are going to ...

Get JavaScript Absolute Beginner's Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.