Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
logician76
on Oct 11, 2013
|
parent
|
context
|
favorite
| on:
ECMA-404: The JSON Data Interchange Format [pdf]
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
on Oct 11, 2013
[–]
http://jsonlint.com/
expects [ or { first.
http://zaach.github.io/jsonlint/
does not and seems to comply to the standard as I interpret it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: