Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
dev
-
None
Description
Floating point values such as -0.0f or -0.0 should be serialized to JSON value considering the sign bit, for example:
{ "testFloat": -0, "testDouble": -0 }
It seems the support of sign bits is missing in QJsonValue. Once confirmed the respective issue will be created for QtCore.
Attachments
Issue Links
- depends on
-
QTBUG-120182 JSON (de)serializer doesn't consider the sign of double/float zero
-
- Closed
-