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

Re: [jslint] JSON

Expand Messages
  • Douglas Crockford
    ... JSLint has looked at uniqueness in object literals for a long time. It now also looks for uniqueness in JSON objects.
    Message 1 of 4 , 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.
    Your message has been successfully submitted and would be delivered to recipients shortly.