Skip to content
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

Parsing from QIODevice fails. #52

Open
AlexWMF opened this issue Apr 17, 2014 · 0 comments
Open

Parsing from QIODevice fails. #52

AlexWMF opened this issue Apr 17, 2014 · 0 comments

Comments

@AlexWMF
Copy link

AlexWMF commented Apr 17, 2014

Network reply was finished without errors and has valid json.

auto reply = qobject_cast<QNetworkReply*> (sender ());
const auto& data = QJson::Parser ().parse (reply);

data is invalid variant, and in logs:

[16.04.2014 23:49:29.525] [0x1de3a2b8] [097] json_parser - syntax error found,  forcing abort, Line 1 Column 1 
[16.04.2014 23:49:30.603] [0x1de3a2b8] [100] JSonScanner::yylex - error while reading from io device 

This for development version c6d92ba
Qt 4.8.5 mingw win7 debug
For 0.8.1 tag there is no issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant