Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Nov 15, 2013
2 parents f4ed563 + 8ab84aa commit 0284315
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0284315

Please sign in to comment.