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

Re: JSON.org grammar

Expand Messages
  • Douglas Crockford
    ... I have removed comments from the reference implementation.
    Message 1 of 4 , Aug 26, 2008
      --- In json@yahoogroups.com, "Tatu Saloranta" <tsaloranta@...> wrote:
      > On a related (?) note: I have heard that comments were allowed at some
      > point (i.e. were proposed as part of formal json grammar). If so, why
      > were they dropped (simplicity?).
      > Worse: json.org's default parser implementation seems to support
      > multiple extensions, which leads developers to assume these are part
      > of json, not just that extra features implementation has. :-/
      > The reason I am asking this is that I have gotten multiple user
      > requests to support comments, and while ideally I would want to stick
      > with the standard format, it is hard to argue against supporting
      > majority of content found in t he wild (significant portion of which
      > allegedly contains such comments -- comments are good places to stick
      > debug-info about generator/app that created content, when it was
      > created etc).

      I have removed comments from the reference implementation.
    Your message has been successfully submitted and would be delivered to recipients shortly.