Details
-
Task
-
Resolution: Won't Do
-
P2: Important
-
None
-
None
-
13
-
Foundation PM Prioritized, Foundation Sprint 93, Foundations Sprint 94
Description
The JSON API is already overloaded for QString/QStringView/QLatin1String, so it's the perfect candidate for replacing all of these overload sets with a single QAnyStringView function.
Additionally, the toString() functions could get companion toStringView() functions that return views into the internal string storage (which may be US-ASCII, UTF-8, or UTF-16, so needs QAnyStringView). (→ QTBUG-133688)
Attachments
Issue Links
- depends on
-
QTBUG-101707 Port QCbor API to QAnyStringView keys
-
- Closed
-
- split to
-
QTBUG-133688 Add QJsonValue/QCborValue::toStringView()
-
- Closed
-