Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

JSON.parse reports error, even despite proper parsing

$
0
0
Turns out this was because I was using an XMLHttpRequest for the parse data, and should have checked that the XMLHttpRequest was in a finished state before attempting to parse; eventually, it would parse correctly, but intermediate states would cause the parsing to occur on incomplete data.

Viewing all articles
Browse latest Browse all 4972