typo fixed: JSON.stingify => JSON.stringify

This commit is contained in:
d3lity 2013-11-07 14:37:47 +02:00
parent a6f141b392
commit ef2b073e84
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: