Details
-
Task
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
4b5949bf5 (dev)
Description
Add support for custom JSON marshallers. The code should check if QMetaType can convert from source type to QJsonValue/QJsonValue to target type and prefer that conversion of any of the other implicit ones.
This primarily touches QMetaObjectPublisher::toVariant() and QMetaObjectPublisher::wrapResult().
Attachments
Issue Links
- is required for
-
QTBUG-98490 QWebChannel does not convert QDateTime to javascript date type
-
- Closed
-
For Gerrit Dashboard: QTBUG-92902 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
434660,8 | QMetaType: Support custom unary converters with optional<To> return type | dev | qt/qtbase | Status: MERGED | +2 | 0 |
440392,6 | Add server-side support for custom converters | dev | qt/qtwebchannel | Status: MERGED | +2 | 0 |