Blog

What is the purpose of JSON and how does it help a web developer?

 

Have you started learning web development these days and want to know about the json role in it? Yes! Then by reading this blog till the end, you can come on the conclusion that defines the main role of learning JSON in website development.

Web Development is a process in which a developer needs to understand every phase of website from UI design to development and maintenance also. That’s why a developer’s salary is based on complete knowledge about designing to execution. To get that knowledge; it is must to join a web development institute in Rohini which covers the right training for you.

A web developer is mainly responsible for the Creating user interface (UI) with HTML, CSS and JavaScript, clear communication with the team for quick resolution and error solving, designing, building or maintaining and many more.

If you also want to become a web developer then must go for web development courses in Delhi

Now come to main concepts. So son plays a n important role in web development lets understand them one by one.

What is JSON?

JSON or you can call it JavaScript Object Notation, helps in operating the web data in key-value pair. JavaScript always provides a global json object. Mainly Json is used to create object notation. Let’s see an example to understand in a better way.

We just discussed above that it has key and pair value.

So first try to understand their meaning and role. So a key is a string. In simple words you can say that it is name of the particular value. And value is can be a thing, boolean, number anything and it is stored in the key. For more clarification let’s see this example given below.

“Name” : “ABC”

In this example you can see that there are two things i.e Name and ABC. So the Name is the Key and ABC is the value.

Lets see and another example .

 

[

  {

    "name": “ABC”,

    "age": 20,

    ]

  },

  {

    "name": “XYZ”,

    "age": 25,

    ]

  }

]

So in this format we create json (JavaScript object Notation). Like the two keys name and age you can add more in it like mobile, email and many more. With the help of this notation, it is easy to define and understand the data for the developer. He can fetch/ call the data easily.

 

JSON file is always described by the .json extension. But there some points which you must know about.

To right json properly always use double quotes. If you will =use single quote then it will throw an error.

Comments are not allowed in .json file.

So you can say that json help in increasing work productivity of the developer and it makes many things easier. If you also want o learn more about JavaScript then must go for JavaScript course in Delhi also you can both front-end and back-end in the 18 months long web design course in Delhi. In this course you will learn about Json in depth and also other languages which is very useful and important to learn for a web developer. You can also go for web design courses in Delhi to learn all the major important programming languages to develop a website.