Skip to content

Commit

Permalink
Update docs/mkdocs/docs/api/basic_json/dump.md
Browse files Browse the repository at this point in the history
Co-authored-by: gentooise <and.genuise@gmail.com>
  • Loading branch information
nlohmann and gentooise authored Dec 23, 2024
1 parent 493d1e4 commit 4ab98c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/mkdocs/docs/api/basic_json/dump.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (� REPLACEMENT CHARACTER),
- `ignore`: ignore invalid UTF-8 sequences during serialization (i.e., these bytes are skipped and not copied to the output), and
Expand Down

0 comments on commit 4ab98c3

Please sign in to comment.