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

jslint validates invalid json

Expand Messages
  • coolaj86
    https://gist.github.com/733715 { ID3v1 : { title : Michael Bolton Said i lov , artist : Michael Bolton Said i lov , genre : Blues } }
    Message 1 of 3 , Dec 8, 2010
    • 0 Attachment
      https://gist.github.com/733715

      {
      "ID3v1": {
      "title": "Michael Bolton \'\' Said i lov",
      "artist": "Michael Bolton \'\' Said i lov",
      "genre": "Blues"
      }
      }

      Node.js's JSON.parse does not parse this, neither does jsonlint.com, but jslint.com reports that it is valid.
    • Douglas Crockford
      ... Thanks. Please try it now.
      Message 2 of 3 , Dec 8, 2010
      • 0 Attachment
        --- In jslint_com@yahoogroups.com, "coolaj86" <coolaj86@...> wrote:

        > {
        > "ID3v1": {
        > "title": "Michael Bolton \'\' Said i lov",
        > "artist": "Michael Bolton \'\' Said i lov",
        > "genre": "Blues"
        > }
        > }

        Thanks. Please try it now.
      • AJ ONeal
        Works for me. Thanks. AJ ONeal ... [Non-text portions of this message have been removed]
        Message 3 of 3 , Dec 8, 2010
        • 0 Attachment
          Works for me.

          Thanks.

          AJ ONeal


          On Wed, Dec 8, 2010 at 1:37 PM, Douglas Crockford <douglas@...>wrote:

          >
          >
          > --- In jslint_com@yahoogroups.com <jslint_com%40yahoogroups.com>,
          > "coolaj86" <coolaj86@...> wrote:
          >
          > > {
          > > "ID3v1": {
          > > "title": "Michael Bolton \'\' Said i lov",
          > > "artist": "Michael Bolton \'\' Said i lov",
          > > "genre": "Blues"
          > > }
          > > }
          >
          > Thanks. Please try it now.
          >
          >
          >


          [Non-text portions of this message have been removed]
        Your message has been successfully submitted and would be delivered to recipients shortly.