Loading ...
Sorry, an error occurred while loading the content.

211Re: Strings

Expand Messages
  • jemptymethod
    Jan 14, 2006
      --- In json@yahoogroups.com, "Douglas Crockford" <douglas@c...> wrote:
      > 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.

      I don't think this is "an error in the ... spec" .... I can think of
      at least one other language that disallows unquoted reserved words as
      keys (Lua), and there are others I'm certain
    • Show all 12 messages in this topic