Skip to content

Commit

Permalink
Remove $.parseJSON
Browse files Browse the repository at this point in the history
$.parseJSON is officially deprecated in favor of the native implementation, so (if the page is intended to only have valid methods), I think it could just be removed:

http://api.jquery.com/jquery.parsejson/
  • Loading branch information
CarloMartini committed May 19, 2018
1 parent 713f48e commit e4b1acd
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions README.md
Expand Up @@ -1174,19 +1174,7 @@ Most of jQuery utilities are also found in the native API. Other advanced functi
return context.body.children;
}
```

+ parseJSON

Takes a well-formed JSON string and returns the resulting JavaScript value.

```js
// jQuery
$.parseJSON(str);

// Native
JSON.parse(str);
```

**[⬆ back to top](#table-of-contents)**

## Promises
Expand Down

0 comments on commit e4b1acd

Please sign in to comment.