qt6-bb10/tests/auto/corelib/serialization/json
Tatiana Borisova 25652c2819 QJsonObject: use new comparison helper macros
Replace public operators operator==(), operator!=() of
QJsonObject to friend methods comparesEqual().

Use QT_CORE_REMOVED_SINCE and removed_api.cpp to get rid of current
comparison methods and replace them with a friend.

Add friend method comparesEqual(QJsonObject, QJsonValue)
to the QJsonObject class, to support comparison between QJsonObject
and QJsonValue elements, see test-case valueEquals().

Task-number: QTBUG-120300
Change-Id: Ibab0b4b39966205447e31c41e94e7e1a4e31e553
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-03-25 23:29:31 +01:00
..
CMakeLists.txt QJsonArray: use new comparison helper macros 2024-03-21 23:43:35 +01:00
bom.json
simple.duplicates.json JSON: Further improve the duplicate handling in the parser 2022-01-21 00:53:49 +01:00
test.duplicates.json JSON: Further improve the duplicate handling in the parser 2022-01-21 00:53:49 +01:00
test.json
test2.json
test3.duplicates.json JSON: Further improve the duplicate handling in the parser 2022-01-21 00:53:49 +01:00
test3.json
tst_qtjson.cpp QJsonObject: use new comparison helper macros 2024-03-25 23:29:31 +01:00