- --- In email@example.com, "Douglas Crockford" <douglas@c...> wrote:
>I don't think this is "an error in the ... spec" .... I can think of
> JSON requires that keys be quoted because of an error in the
> ECMAScript spec that disallows the use of unquoted reserved words as
> keys. The list of reserved words is surprisingly long and difficult to
> remember. The best practice is to always quote keys.
at least one other language that disallows unquoted reserved words as
keys (Lua), and there are others I'm certain