Mention what is the rule for JSON syntax rules? Give an example of JSON object?
JSON syntax is a set of the JavaScript object notation syntax.
1) Data is in name/value pairs
2) Data is separated by comma
3) Curly brackets hold objects
4) Square bracket holds arrays