4 ms·
So the standard says a valid JSON text complies to the JSON value grammar. So a valid JSON text can be just one JSON value, like a number or true or false.. how
by logician76 13y ago
So the standard says a valid JSON text complies to the JSON value grammar. So a valid JSON text can be just one JSON value, like a number or true or false.. however JSON linters always say they expect a { or [ ... who is right?
- logician76 13y agohttp://jsonlint.com/ http://jsonlint.com/ expects [ or { first. http://zaach.github.io/jsonlint/ http://zaach.github.io/jsonlint/ does not and seems to comply to the standard as I interpret it.