In JSON, the data are in key/value pairs. Key and value is separated by a colon
:.JSON value must be of the following data types:
Object (JSON object),
Please keep in mind that JSON value does not support the following data types:
Let us understand each of the data types.
JSON value having data type string, must be written inside the double quotes.
JSON value having data type number must be written without double quotes and it will be of integer or floating-point.
JSON data value type might be an object.
JSON data value can be array. Let us understand it with the help of an example
JSON data value can be either true or false.
JSON data value can be null.