qt5base-lts/tests/auto/corelib/json
Christian Kandeler 4b63ab9a93 QJsonValue::toVariant(): Differentiate between null and invalid
Both were mapped to QVariant() before. Instead, use a null pointer
QVariant for a null JSON value.

[ChangeLog][QtCore][QJsonValue] QJsonValue(Null).toVariant() now returns
a QVariant of type QMetaType::Nullptr instead of an invalid QVariant.

Task-number: QTBUG-43077
Change-Id: Ife611f418583dbff542210bc8c5cd65201212a6e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2016-08-05 14:53:33 +00:00
..
bom.json Correctly parse json documents with a leading BOM 2012-05-10 13:50:35 +02:00
json.pro Use "shortest" double conversion for JSON 2015-11-23 14:13:48 +00:00
json.qrc Android: Fix json test. 2014-12-22 08:32:39 +01: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 Sanitize JSON test data 2015-12-16 08:54:57 +00:00
test.json Sanitize JSON test data 2015-12-16 08:54:57 +00:00
tst_qtjson.cpp QJsonValue::toVariant(): Differentiate between null and invalid 2016-08-05 14:53:33 +00:00