Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

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
MotoShare.in provides the perfect two-wheeler for every occasion—daily commuting, weekend escapes, tourist exploration, or test-riding your dream bike. Simplify your mobility with us!

Related Posts

What is JavaScript and use cases of JavaScript?

What is JavaScript? JavaScript is a programming language that is used to create interactive user interfaces and dynamic web pages. It is a client-side language, which means…

Read More

Complete guide of JavaScript certification courses, tutorials & training

What is JavaScript Every time a web page does more than simply sit there and display static information for you to look at, such as when it…

Read More

Complete JavaScript with AngularJS and NodeJS Certification Guide & tutorials

What is JavaScript with AngularJS and NodeJS? JavaScript was introduced as LiveScript, but Netscape converted its name to JavaScript. JavaScript is a dynamic computer programming language. It…

Read More

Best & Most Popular 5 Code Editors for JavaScript programming

JavaScript is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. JavaScript’s syntax is heavily inspired by C++ and…

Read More

Top 50 interview question and answers for JavaScript

JavaScript could be a scripting or artificial language that enables you to implement advanced options on websites each time an internet page will quite simply sit there…

Read More

TOP 250+ INTERVIEW QUESTIONS FOR JAVA

Here we will cover the basic, intermediate and advance level interview questions for java. Also we will cover the question related to java script. Java Basic interview…

Read More