Sfoglia il codice sorgente

Document dedupe_keys option

pull/158/head
Paul J. Davis 7 anni fa
parent
commit
6da61bbfdf
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      README.md

+ 4
- 0
README.md Vedi File

@ -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

Caricamento…
Annulla
Salva