JSON Example

JSON Example Assignment 1: Develop a JSON Data which shows data of students from three different sections of a class. Data must include students name and their favourite subjects. Display the data in a table. Solution: In this assignment, we will initially have a JSON...

Important Points to Remember: JSON rules

JSON rules To access JSON data that is parsed as a JS object into a variable in JavaScript, we use dot/bracket notation as shown below. To drill down further, we need to chain the required property name with the required index of the array together. This is explained...

JavaScript Object

JavaScript Object In JavaScript, an object is an entity with its own properties and types. Let us take an example to understand this: Here we have defined an object myBike with its four properties. These properties are too in the form of a key-value pair. We will...

What is JSON

JavaScript Object Notation (JSON) As the name suggests, JSON is an object notation (or symbol) for JavaScript. JSON was mainly developed for JavaScript. It helps JavaScript to communicate with server. We will now discuss how a JSON file is made and how it is...