Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8
-
None
Description
`QJsonDocument::fromJson()` requires a `QByteArray` as the data to parse.
Allowing a `QIODevice` would avoid obliging the caller to read and story a copy of the data.
Incremental parsing is more memory-efficient.
Noticed while reviewing the fix for QTBUG-127011.
Attachments
Issue Links
- relates to
-
QTBUG-129710 Adding QJsonStreamWriter and QJsonStreamReader + Simplifying QCborStreamReader and QCborStreamWriter for QVariant Support
- Open