JavaScript Object Notation

Background

There are multiple approaches to creating objects and classes for custom and similar objects. However, sometimes these objects must be stored or transferred through other mediums. Then, we need a mechanism compliant outside the JavaScript language: JSON.

Introduction to JSON

JSON (JavaScript Object Notation) is a lightweight text-based language that helps store data. JSON is used when exchanging data between a browser and a server, and when generally the data transferred can only be text-based. Since any JavaScript object can be converted into a JSON text, it is essential when dealing with JavaScript.

Get hands-on with 1200+ tech skills courses.