Document the use_nil option for encoding JSON
Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/c65273f8 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/c65273f8 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/c65273f8 Branch: refs/heads/master Commit: c65273f8a4e1eaf4a5fff0250f2c82e2818ce610 Parents: e43ea64 Author: Paul J. Davis <[email protected]> Authored: Wed Dec 2 11:29:36 2015 -0600 Committer: Paul J. Davis <[email protected]> Committed: Wed Dec 2 11:29:36 2015 -0600 ---------------------------------------------------------------------- README.md | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/c65273f8/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 2fe68ed..e291de4 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ The options for encode are: * `force_utf8` - Force strings to encode as UTF-8 by fixing broken surrogate pairs and/or using the replacement character to remove broken UTF-8 sequences in data. +* `use_nil` - Encode's the atom `nil` as `null`. * `escape_forward_slashes` - Escapes the `/` character which can be useful when encoding URLs in some cases. * `{bytes_per_red, N}` - Refer to the decode options
