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

448Re: [jslint] JSON

Expand Messages
  • Douglas Crockford
    Apr 27, 2009
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "Jakob Kruse" <kruse@...> wrote:
      > Question: Did you really mean JSON object, or JavaScript object? JSLint will now complain if I have code such as this: ?
      > var myJSON = '{"foo":1,"foo":2}';

      JSLint has looked at uniqueness in object literals for a long time.
      It now also looks for uniqueness in JSON objects.
    • Show all 4 messages in this topic