1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-24 02:21:01 +03:00

📝 refine documentation of error_handler parameter

This commit is contained in:
Niels Lohmann
2020-06-30 13:59:43 +02:00
parent eb7376bb13
commit ad6eadeb70
2 changed files with 4 additions and 2 deletions

View File

@ -18168,7 +18168,8 @@ class basic_json
@param[in] error_handler how to react on decoding errors; there are three
possible values: `strict` (throws and exception in case a decoding error
occurs; default), `replace` (replace invalid UTF-8 sequences with U+FFFD),
and `ignore` (ignore invalid UTF-8 sequences during serialization).
and `ignore` (ignore invalid UTF-8 sequences during serialization; all
bytes are copied to the output unchanged).
@return string containing the serialization of the JSON value