summaryrefslogtreecommitdiffstats
path: root/src/core5/serialization/qbinaryjsonobject.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Mark QBinaryJson as security-criticalMarc Mutz2025-10-151-0/+1
| | | | | | | | | | | | | | | | | | QtJson in QtCore is, too, so mark all .cpp files as critical. As for the headers: they're mostly trivial-impl-only (containing e.g. move SMFs), except for - qbinaryjson_p.h, which contains a lot of inline functions that help with parsing (→ critical), and - qbinaryjson.h, which contains only declarations (→ significant). QUIP: 23 Task-number: QTBUG-135745 Pick-to: 6.10 6.8 Change-Id: I4f558f93103e54ec30794fd15daedd03190856bb Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-231-38/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I52b9410c22909f4253094d2458d309e7f6ad2620 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Port binary JSON to new special integer bitfieldsUlf Hermann2022-05-111-7/+7
| | | | | | | | | | The old special integer bitfields are unsafe. The compiler can optimize out writes to different members of the same union. Pick-to: 6.2 6.3 Task-number: QTBUG-99545 Change-Id: Ib1bda98842905598f7b621e45451c8c8857f8ee3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Move binary JSON feature to Qt5Compat moduleSona Kurazyan2020-07-301-0/+149
Moved the functionality for encoding and decoding QJsonDocument to and from JSON binary format to Qt5Compat. Added the following replacement APIs in the QBinaryJson namespace: - QJsonDocument::fromRawData(): was a static function, replaced by QBinaryJson::fromRawData() free function. - QJsonDocument::rawData(): was a member function, replaced by QBinaryJson::toRawData() free function. - QJsonDocument::fromBinaryData(): was a static function, replaced by QBinaryJson::fromBinaryData() free function. - QJsonDocument::toBinaryData(): was a member function, replaced by QBinaryJson::toBinaryData() free function. Moved the related tests as well. Task-number: QTBUG-85682 Change-Id: If70ef2c980173e625c2ec5462d0fae723de769aa Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@qt.io>