Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.4.0 Alpha
-
None
Description
According to the docs QJsonDocument::fromVariant() supports only QVariantMap, QVariantList and QStringList as input. Why does it not support a QHash<QString, QVariant> ? Using a QHash is more efficient when one has to work with many elements, converting it to a map just to use it with fromVariant() is bothersome.