A string has valid JSON syntax if it conforms to the JSON standard syntax as specified in http://www.json.org/. Syntax for the JSON type conforms to this standard, which is shown below.
Syntax
Syntax Elements
- object
- An unordered collection of name/value pairs.
- array
- An ordered sequence of values.
- name/value pair
- An attribute and its associated value.
- string
- A JSON string literal enclosed in double quotation marks.
- number
- A JSON numeric literal.