"age": 25,
"email": "
[email protected]",
"skills": ["HTML", "CSS", "JavaScript"]
}
In this structure:
Keys (like “name” or “age”) refer to the words/terms/units defining the
content.
Values (like “John Doe” or 25) refer to the contents associated with the
keys.
Besides, the terms like "HTML" and "CSS", extracted from a list
["HTML", "CSS", "JavaScript"], represent the same type of one, word
information that can be kept in a list or accessed by the same key.
Why JSON Is So Popular
JSON has become the standard for data exchange across the internet.
Here’s why developers prefer it:
1.Simplicity: Being quite brief and organized JSON syntax is also
intelligible by most people.
2.Lightweight: JSON saves the users’ characters compared to XML
or other similar formats.
3.Cross, Platform: Whatever the programming language, there is a
JSON, compatible version of it.
4.Compatibility: Easy and safe for APIs, web services, and
configuration files.