diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2023-07-07 16:47:08 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2023-07-08 10:50:41 +0200 |
commit | 04f2acf93ad28848808822c9a8e0479509ec5555 (patch) | |
tree | c891b3fa64a2af119abb8f433f7417b48a56045c /tests/auto/widgets/widgets | |
parent | 7c25358144976d8f7b7d2b56f81782d607bb8cbf (diff) |
qtpaths: generate proper JSON
The "manual" generation left a trailing comma in the object definition.
This is illegal, as per RFC 8259:
object = begin-object [ member *( value-separator member ) ]
end-object
Hence, the resulting JSON does not get accepted by any parser.
Let's just not do that and use QJsonDocument.
Change-Id: I882486e55f66c52d142638f37584088091bbc123
Pick-to: 6.2 6.5 6.6
Fixes: QTBUG-115124
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests/auto/widgets/widgets')
0 files changed, 0 insertions, 0 deletions