This question is taken from the famous .NET interview question and answer book written by Shivprasadkoirala and published by BPB publication.
JSON (JavaScript object notation) helps us to present and exchange data in a self-descriptive, independent and light way. This data can then be easily consumed and transformed in to javascript objects.
Below is a simple example of JSON format looks. You can understand from the format how lightweight and easy the format looks.
For instance you can see in the below code snippet we have a JSON format data which has “name”,”street”,”age” and “phone”. Now this data can be consumed as shown in the code snippet below, evaluated to a javascript object and invoked as an object property.
You can see how we have called the “name” property using an obj“JSONObject.name”.
Below are some more references for c# interview questions and answers:-
This is a one stop place for c# interview questions and answers
Awesome database design SQL Server interview questions and answers.
25 important WCF interview questions a must read if you have a job profile for WCF.
Awesome ASP.NET interview questions and answers
Also see 20 minutes of MVC ( Model view controller ) interview questions and answer videos from youtube.com:-
