Introduction: What is JSON

In this post, we will learn about Json.


In my previous posts I have explained various topics like Ajax Control in ASP.NET, AJAX Basics, Optional Arguments In C#, difference between Stack and Heap memory in C#, Difference Between Class And Structure, ASP.NET Core, C# static constructor, Nullables in C#, Collections in C#SortedSet in C#.Net, Stack in C#, Queue in C#.Net, LinkedList in C#.Net.

What is JSON

Introduction To JSON

Now in this post, I will explain about what is JSON.

  • JSON stands for JavaScript Object Notation.
  • It is a lightweight data interchange format that can be used to send or recieve the data between the client browser and the web server.
  • JSON formate is “self-describing” and easy to understand.
  • It is language independent.
  • The file type for JSON files is “.json”.
  • The MIME type for JSON text is “application/json”.

JSON Syntax

JSON data is specified in name-value pairs.


For ex

//Json Object

var Employee= {“name”:”Raj”,”gender”:”M”,”dept”:”HR”,”address”:”Rajkot”};

name, gender, dept, address are the properties of json object and seprated by comma(,).

In JSON, the values must be one of the data types given below.

  • null
  • a string
  • a number
  • an object (JSON object)
  • an array
  • a boolean

The data can be stored in JSON format, as shown below.

  • JSON Object.
  • JSONArray.
  • Nested Json Object


I hope you got an idea about What is JSON.
I would like to have feedback from my blog readers.
I hope after reading this article you will be able to do this.
Your valuable feedback, question, or comments about this article are always welcome.

Leave a Reply

Your email address will not be published. Required fields are marked *

Name *
Email *