Files
json/include/nlohmann
Niels Lohmann bbf9b69d38 Add an error_handler parameter to to_msgpack
The MessagePack spec allows ill-formed UTF-8 in a str, so the default stays
keep (also if JSON_STRICT_BINARY_UTF8 is enabled), but decoders such as
msgpack-python reject it by default. With the parameter, strict catches
such strings and replace/ignore sanitize them, the same way as for the
other binary writers and dump().

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-10-02 09:02:34 +02:00
..
2026-01-01 20:00:39 +01:00
2026-01-01 20:00:39 +01:00