Skip to content

what's the meaning of function json.dump()'s param : error_handler_t::ignore. #2231

Answered by nlohmann
chloro-pn asked this question in Q&A
Discussion options

You must be logged in to vote

The ignore parameter copies invalid UTF-8 bytes verbatim to the output. Maybe the name is not too optimal - I will adjust the documentation.

Update: #2232

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by nlohmann
Comment options

You must be logged in to vote
3 replies
@chloro-pn
Comment options

@nlohmann
Comment options

@chloro-pn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants