qt5base-lts/tests/auto/corelib/json
Liang Qi 57acf1b46c QtCore: fix the number precision in QJsonDocument.toJson()
In JSON, any number is stored in double. We need to make sure we
keep the maximum possible number precision for integer number. In
IEEE 754 double format, the significand precision is 53 bits(52
explicityly stored).

Autotest is included. qint64 and double work fine.

Task-number: QTBUG-28467
Change-Id: I7f857671c50e4334e9329c778f9b4f090f490540
Reviewed-by: Sune Vuorela <sune@vuorela.dk>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2013-05-20 12:06:48 +02:00
..
bom.json Correctly parse json documents with a leading BOM 2012-05-10 13:50:35 +02:00
json.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
test2.json Import json support from playground/qtbinaryjson 2012-01-24 15:28:20 +01:00
test3.json Add the missing test file and give it a proper name. 2012-01-30 18:48:28 +01:00
test.bjson Fix parsing of unicode escape sequences 2012-03-07 00:03:07 +01:00
test.json Import json support from playground/qtbinaryjson 2012-01-24 15:28:20 +01:00
tst_qtjson.cpp QtCore: fix the number precision in QJsonDocument.toJson() 2013-05-20 12:06:48 +02:00