Skip to content

Are dump and parse guaranteed to be inverse to each other? #2788

Answered by gregmarr
Mathias-Fuchs asked this question in Q&A
Discussion options

You must be logged in to vote

I would say no, it wouldn't be guaranteed, since there can be things in the json object that can't be represented in a JSON file, such as NAN or infinity, or non-utf8 strings.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nlohmann
Comment options

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