JSON object is a unordered collection of key/value pairs. Curly braces are used to store JSON object. The comma is used to separate Multiple values within a JSON object.
{ "name": "Moto G5 Plus", "price": 17000, "color": ["lunar gray", "fine gold"], "inStock" :true, "features": { "screen size": 5.2, "operating system": "android 7.0", "wireless charging": false, "connectivity": ["wi-fi", "4G LTE", "bluetooth"] } }
Here, "features" is a JSON object in which screen size, operating system, wireless charging, and connectivity are keys. They are holding number, string, boolean and array as a value.