Repository: couchdb-jiffy Updated Branches: refs/heads/master f85e2fc3b -> 02e308c59
Document dedupe_keys option Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/6da61bbf Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/6da61bbf Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/6da61bbf Branch: refs/heads/master Commit: 6da61bbfdfb2411a1bf386bf0c704085d20415eb Parents: 128811a Author: Paul J. Davis <[email protected]> Authored: Tue Oct 31 12:09:56 2017 -0500 Committer: Paul J. Davis <[email protected]> Committed: Tue Oct 31 12:09:56 2017 -0500 ---------------------------------------------------------------------- README.md | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/6da61bbf/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index e291de4..fa20dd6 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,10 @@ The options for decode are: JSON term is decoded the return value of decode/2 becomes `{has_trailer, FirstTerm, RestData::iodata()}`. This is useful to decode multiple terms in a single binary. +* `dedupe_keys` - If a key is repeated in a JSON object this flag + will ensure that the parsed object only contains a single entry + containing the last value seen. This mirrors the parsing beahvior + of virtually every other JSON parser. * `{bytes_per_red, N}` where N >= 0 - This controls the number of bytes that Jiffy will process as an equivalent to a reduction. Each 20 reductions we consume 1% of our allocated time slice for the current
