Merge pull request #78 from d3lity/patch-1

typo fixed: JSON.stingify => JSON.stringify
This commit is contained in:
Jos de Jong 2013-11-07 10:50:10 -08:00
commit 8ab84aac27
1 changed files with 2 additions and 2 deletions

View File

@ -175,13 +175,13 @@ In general to parse or stringify JSON data, the browsers built in JSON parser ca
To create a formatted string from a JSON object, use:
```js
var formattedString = JSON.stingify(json, null, 2);
var formattedString = JSON.stringify(json, null, 2);
```
to create a compacted string from a JSON object, use:
```js
var compactString = JSON.stingify(json);
var compactString = JSON.stringify(json);
```
To parse a String to a JSON object, use: