Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 9
    Is there a reason to use this over JSON.parse()? Commented Mar 20, 2016 at 2:02
  • 10
    jQuery.parseJSON defaults to using JSON.parse if it exists, so the only reason to use this over the real one is if you need a fallback for <IE7. It was changed way back in jQuery 1.6: james.padolsey.com/jquery/#v=1.6.0&fn=jQuery.parseJSON Commented Apr 5, 2016 at 20:49
  • 13
    2016 update: As of jQuery 3.0, $.parseJSON is deprecated and you should use the native JSON.parse method instead. Commented Jun 28, 2016 at 22:36