JSON parser grammar
cowan at ccil.org
Wed Jun 3 20:29:42 PDT 2009
Mark S. Miller scripsit:
> Why? Had JSON been defined after ES5, no doubt it would have accepted
> these. But that's spilled milk under the bridge on which the train has
> already passed.
FWIU, JSON doesn't allow unquoted keys because that would implicate
the list of ES3 reserved words in the definition. Let's not go there.
John Cowan cowan at ccil.org http://ccil.org/~cowan
Rather than making ill-conceived suggestions for improvement based on
uninformed guesses about established conventions in a field of study with
which familiarity is limited, it is sometimes better to stick to merely
observing the usage and listening to the explanations offered, inserting
only questions as needed to fill in gaps in understanding. --Peter Constable
More information about the es5-discuss