-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
exception 0x770DC5AF when i read an special char in json file #2106
Comments
I need more information:
|
my json file look like this : the code to read : the backtrace (where is stoping in the stack ) :
|
Is the JSON file UTF-8 encoded? |
you find the problem. sorry |
Could you send me the file or attach it? I tried to reproduce the error locally, but only got this exception if I save the JSON you mentioned with non-UTF-8 encoding:
I did not get a |
sorry i didn't see the notification : |
Thanks. I again get this error:
|
What is the issue you have?
when i try to read a json file application crash
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
just a special char like ê in the json file, can crash application at runtime
in json hpp at line 4982
case 4:
JSON_THROW(static_cast<const detail::out_of_range>(&ex));
What is the expected behavior?
report i can't read your actual json file.
And what is the actual behavior instead?
application crashed
Which compiler and operating system are you using? Is it a supported compiler?
visual studio 2019 community and win 7
Did you use a released version of the library or the version from the
develop
branch?the released version
If you experience a compilation error: can you compile and run the unit tests?
The text was updated successfully, but these errors were encountered: