Skip to content

Commit 894f43b

Browse files
author
James Halliday
committed
document replacer
1 parent ccf5e63 commit 894f43b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

readme.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ which outputs:
111111
}
112112
```
113113

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

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

0 commit comments

Comments
 (0)