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

Missing newlines in deserialized string #4479

Closed
2 tasks done
UnrealKaraulov opened this issue Oct 24, 2024 · 0 comments
Closed
2 tasks done

Missing newlines in deserialized string #4479

UnrealKaraulov opened this issue Oct 24, 2024 · 0 comments

Comments

@UnrealKaraulov
Copy link

UnrealKaraulov commented Oct 24, 2024

Description

No newlines in output string.

Reproduction steps

Compile example below with Visual Studio 2022 for x86

Expected vs. actual results

Expected :

Hello
World

Actual :
Hello World (space instead of newline)

Minimal code example

json main_json;
main_json["newlines"] = "Hello\nWorld!";
std::cout << main_json.dump() << std::endl;// -> "Hello\\nWorld"
std::cout << main_json["newlines"] << std::endl;// -> "Hello World"


### Error messages

```Shell
No

Compiler and operating system

Visual Studio 2022 Win10 sdk latest

Library version

6325839

Validation

@UnrealKaraulov UnrealKaraulov closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant