3 ms·
You're actually wrong. (1) "A JSON text ... conforms to the JSON value grammar." (2) The entire standard for the object grammar is, "An object structure is re
by drostie 12y ago
You're actually wrong.
(1) "A JSON text ... conforms to the JSON value
grammar."
(2) The entire standard for the object grammar is, "An object structure is represented as a pair of curly bracket tokens surrounding zero or more name/value pairs. A name is a string. A single colon token follows each name, separating the name from the value. A single comma token separates a value from a following name."
In other words, people SHOULD ignore both of those, because ignoring both of those is a part of the ECMA-404 JSON standard. (The latter actually wasn't even a part of RFC 4627; the operative word there was SHOULD, not MUST.)