Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals

What is JSON? Why we use JSON over XML?

Let’s discuss about JSON that why we use JSON and what is the importance of JSON in Web Development. How can It help us to get data from such an easy format. how can we easily develop a whole website and feed data from JSON. so let’s dig it out…

What is JSON?

JSON stands for JavaScript Object Notation.

Why JSON?

It is a very common data format used for asynchronous browser-server communication, including as a replacement for XML in some AJAX-style systems.
JSON grew out of a need for stateful, real-time server-to-browser communication protocol without using browser plugins such as Flash or Java applets, the dominant methods used in the early 2000s.

What is IT?

JSON is a textual, language-independent data-exchange format, much like XML, CSV or YAML.

Rules of JSON

  • Most widely used for APIs- Best for data exchange
  • Most APIs are JSON with some JSON only.
  • Works seamlessly with server side languages as well as frontend coding
  • Most programming languages can be used with JSON.
  • NoSQL databases like MongoDB use JSON formats.
  • Works well with AJAX which is a common format for retrieving data.
  • JSON is a open, text-based, light-weight data interchange.

Features of JSON

  • Easy to Read- Text Based, ordered list of values
  • Language independent – Works across languages
  • Light Weight – Load quickly
  • Scalable – Expand and add more data

Example of JSON format

{
	"firstName" : "Chandan",
	"lastName": "Kumar",
	"isAlive": true,
	"age": 26,
	"address":{
		"streetAddress": "2nd Avenue",
		"city": "New York",
		"state": "NY",
		"postalCode": "10021-3100"
	},
	

}Code language: JSON / JSON with Comments (json)

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.