You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An exception occurred when sending a string with double quotes
Reproduction steps
If I send a string with double quotes, it will not parse properly, for example, if I type "hello".
Expected vs. actual results
After a json "msg":""hello""
Minimal code example
No response
Error messages
terminate called after throwing an instance of 'nlohmann::detail::parse_error'what(): [json.exception.parse_error.101] parse error at line 1, column 17: syntax error while parsing object - invalid literal; last read: '""o'; expected '}'
Compiler and operating system
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
Library version
JSON for Modern C++ version 3.10.5
Validation
The bug also occurs if the latest version from the develop branch is used.
Description
An exception occurred when sending a string with double quotes
Reproduction steps
If I send a string with double quotes, it will not parse properly, for example, if I type "hello".
Expected vs. actual results
After a json "msg":""hello""
Minimal code example
No response
Error messages
Compiler and operating system
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
Library version
JSON for Modern C++ version 3.10.5
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: