-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Backslash '\' in value causes exception #1827
Comments
Backslashes need to be escaped. I guess the exception is a parse error telling this. |
What is the exact exception text? |
One more question:
Does code with |
For me, it compiles but generates a warning...
VS2019 16.3.7. |
That's fine. The function is indeed deprecated. |
Do you need further assistance with this issue? |
backslash '\' in field value of json file causes an exception.
examplefile.json
Note that forward slash does work.
examplefile2.json
What is the expected behavior?
File should just parse like the example2 (but with an string escaped backslash).
And what is the actual behavior instead?
Program crash due to thrown exception.
Which compiler and operating system are you using? Is it a supported compiler?
Microsoft Visual C++ 2019
Did you use a released version of the library or the version from the
develop
branch?Tryed both 3.6.1 and 3.70
If you experience a compilation error: can you compile and run the unit tests?
No compilation error
The text was updated successfully, but these errors were encountered: