Quellcode durchsuchen

Document dedupe_keys option

pull/158/head
Paul J. Davis vor 7 Jahren
Ursprung
Commit
6da61bbfdf
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. +4
    -0
      README.md

+ 4
- 0
README.md Datei anzeigen

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

Laden…
Abbrechen
Speichern