Enum error_handler_t

Enum Documentation

enum class nlohmann::detail::error_handler_t

how to treat decoding errors

Values:

enumerator strict

throw a type_error exception in case of invalid UTF-8

enumerator replace

replace invalid UTF-8 sequences with U+FFFD

enumerator ignore

ignore invalid UTF-8 sequences

enumerator strict

throw a type_error exception in case of invalid UTF-8

enumerator replace

replace invalid UTF-8 sequences with U+FFFD

enumerator ignore

ignore invalid UTF-8 sequences