QJsonValue toDouble() 转换生成错误值导致数据丢失。
QJsonObject obj;
obj.insert("dbl",double(73183493944884961));
double d = obj.value("dbl").toDouble();
qulonglong ul = d;
qulonglong ul2 = 73183493944884961;
qDebug () << ul << ul2;
输出:
73183493944884960 73183493944884961