瀏覽代碼

Document dedupe_keys option

pull/158/head
Paul J. Davis 7 年之前
父節點
當前提交
6da61bbfdf
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      README.md

+ 4
- 0
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

Loading…
取消
儲存