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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user