JSON (v1)

Introduction

JSON (JavaScript Object Notation) is a standardized format for structuring data. It is heavily based on the syntax for JavaScript objects. You will often encounter JSON formatted data when working with external servers or APIs – it is essentially the universal format for transmitting data on the web. Go through the following resources and you’ll be good to go.

Study

  1. This MDN tutorial is probably all you need…

  2. Read about the 2 JavaScript methods that you’ll most often be using when dealing with JSON – JSON.parse() and JSON.stringify().

  3. Mis-formatted JSON is a common cause of errors. This webpage lets you paste in JSON code and will search it for formatting errors.

Feedback

  • Is there anything we can help with up to this point? Do you have something to suggest about this chapter? Let us know in the comments below.

UPDATED: 13.01.2021