Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed dumping of strings #24

Merged
merged 1 commit into from
Jan 11, 2015
Merged

Conversation

Teemperor
Copy link
Contributor

Dumping strings containing special characters such as quotes, backslashes, newlines and so on results in invalid results.

This patch adds a escaping mechanism that fixes this problem.

A possible (but not required by the standard) escaping of unicode characters is not included in this patch.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 7b97ec8 on Teemperor:fix_string_dumping into 0cd2ecf on nlohmann:master.

nlohmann added a commit that referenced this pull request Jan 11, 2015
@nlohmann nlohmann merged commit 80b5db1 into nlohmann:master Jan 11, 2015
@nlohmann
Copy link
Owner

Thanks!

GerHobbelt pushed a commit to GerHobbelt/nlohmann-json that referenced this pull request May 7, 2021
📝 add more API documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants