mirror of
https://github.com/nlohmann/json.git
synced 2025-05-11 13:43:57 +00:00
Update docs/mkdocs/docs/api/basic_json/dump.md
Co-authored-by: gentooise <and.genuise@gmail.com>
This commit is contained in:
parent
493d1e4467
commit
4ab98c39c3
@ -25,7 +25,7 @@ and `ensure_ascii` parameters.
|
||||
result consists of ASCII characters only.
|
||||
|
||||
`error_handler` (in)
|
||||
: how to react on decoding errors; there are three possible values (see [`error_handler_t`](error_handler_t.md)):
|
||||
: how to react on decoding errors; there are four possible values (see [`error_handler_t`](error_handler_t.md)):
|
||||
: - `strict`: throws a [`type_error`](../../home/exceptions.md#type-errors) exception in case a decoding error occurs (this is the default),
|
||||
- `replace`: replace invalid UTF-8 sequences with U+FFFD (<28> REPLACEMENT CHARACTER),
|
||||
- `ignore`: ignore invalid UTF-8 sequences during serialization (i.e., these bytes are skipped and not copied to the output), and
|
||||
|
Loading…
x
Reference in New Issue
Block a user