1. Back To Blog

What is JSON?(JSON Interview questions)

If you are lazy to read the complete article see this video created by www.questpond.com team which explains JSON in a short and sweet manner

JSON ( Javascript object notation ) is a simple data exchange format which helps to communicate between JavaScript and server side technologies like Servlets , JSP , WCF , ASP.Net etc.

The format of JSON is as shown below. The below format represents a "Customer" object with "CustomerCode" and "CustomerName" property.


Now this format can be easily consumed by javascript and transformed in to javascript object. Look at the above figure where we have provided JSON to javascript variable and you can see how a javascript object is evaluated with a "CustomerCode" and "CustomerName" property.

If you look at the web architecture it has two parts browser and server. On the browser side Javascript is the most prominent and well established language while on server side you have different technologies like JSP, ASP.NET, PHP etc.

So if the server side technologies emit out JSON format which can be easily transformed in to a javascript object that would really ease the communication between multiple server side technologies and javascript language.

You can also read JSON , Jquery and Angular interview question form this codeproject article


Shiv Prasad Koirala

Visit us @ www.questpond.com or call us at 022-66752917... read more

We are on Social