-
-
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
Could the parser locate errors to line? #675
Comments
Related: #301. |
The location of parse errors is given in the version of the |
Examples for the exception strings are
for an input like |
Thanks for the reply! |
No worries! If you need further assistance, just open an issue. |
hello again~
I use the lib to parse a json file like this:
std::ifstream ifs(filename);
json json_input;
ifs >> json_input;
Then I use the json class to do things. But if the input file has syntax error, the parser just reports what the error is, without where the error happens. Is it possible to locate errors to exactly which line the error happens in the json file?
Thanks!
The text was updated successfully, but these errors were encountered: