English, asked by JMVarma2745, 1 year ago

Which is true about JSON Syntax?

Answers

Answered by aniket1454
2
☰ HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML

JSON Syntax
« PreviousNext Chapter »
The JSON syntax is a subset of the JavaScript syntax.

JSON Syntax Rules
JSON syntax is derived from JavaScript object notation syntax:

Data is in name/value pairs
Data is separated by commas
Curly braces hold objects
Square brackets hold arrays
JSON Data - A Name and a Value
JSON data is written as name/value pairs.

A name/value pair consists of a field name (in double quotes), followed by a colon, followed by a value:

JSON Values
JSON values can be:

A number (integer or floating point)
A string (in double quotes)
A Boolean (true or false)
An array (in square brackets)
An object (in curly braces)
null

Hope this will help you.... ✌

aniket1454: hi
Similar questions