JSON is a lightweight, text-based, platform-neutral data interchange format in which objects are represented in the attribute-value pair format. Historically, JSON originated from JavaScript. However, nowadays, it is considered to be a language-independent format because of its wide adoption by all modern programming languages. In this section, you will learn the basics of the JSON format.
A brief overview of JSON
Understanding the JSON data syntax
The JSON format is very simple by design. It is represented by the following two data structures:
- An unordered collection of the name-value pairs (representing an object):
- Attributes of an object and their values are represented in the name-value pair format; the name and the...