GNOME Bugzilla – Bug 637244
Generator dump_value() rounds double values loosing precision
Last modified: 2012-03-13 22:08:50 UTC
The json-generator dump_value() function should use the the '%f' modifier in the g_ascii_formatd() rather than '%g' or allow to serialise double values properly. For example 1292340068292173.000000 gets serialized as 1.29234e+15 loosing precision.
thanks, fixed in master.
[Fixing Default QA assignee for json-glib - see 613232#c1. Sorry for bugmail noise.]