Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8.2
-
None
-
ALT Regular
-
-
42e0f9811 (dev), a4daf4939 (dev), 895b1c0ab (dev), b75851889 (6.9), d0665d262 (6.9), 469c071d6 (6.9), a7f1ad81e (6.8), a88e522c4 (6.8), ff708351b (6.8), c3bb5906d (tqtc/lts-6.5)
Description
I have an editable model, which stores its data in entities, containing QVariant, and it has a method, which serializes all data to JSON. Integer values were serialized as strings. After some debugging I found out that my QVariant has QMetaType::Long, which, according to the docs, is not processed.
By the way, QVariant::toJsonValue works correctly