Skip to content

Commit

Permalink
document replacer
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed May 27, 2014
1 parent ccf5e63 commit 894f43b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ which outputs:
}
```

### replacer

The replacer parameter is a function `opts.replacer(key, value)` that behaves
the same as the replacer
[from the core JSON object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_native_JSON#The_replacer_parameter).

# install

With [npm](https://npmjs.org) do:
Expand Down

0 comments on commit 894f43b

Please sign in to comment.