We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Json::Value root; Json::Reader reader; const bool parsingSuccessful = reader.parse("404 Not Found", root);
parsingSuccessful == true !
p.s. http://jsonlint.com/
Parse error on line 1: 404 NotFound ^ Expecting '{', '['
The text was updated successfully, but these errors were encountered:
Please use Json::Reader reader(Json::Features::strictMode()); then it will return false
Sorry, something went wrong.
tnx
Thanks, Xiao.
https://github.com/open-source-parsers/jsoncpp/wiki/FAQ#How_can_I_get_stricter_JSON_parsing
No branches or pull requests
Json::Value root;
Json::Reader reader;
const bool parsingSuccessful = reader.parse("404 Not Found", root);
parsingSuccessful == true !
p.s.
http://jsonlint.com/
Parse error on line 1:
404 NotFound
^
Expecting '{', '['
The text was updated successfully, but these errors were encountered: