QJson and integer types.
General and Desktop
2
Posts
2
Posters
2.5k
Views
1
Watching
-
Hi,
How should i store on a QJsonValue an integer type (short, int, long, etc) ?, Im storing a timestamp on a QJsonValue and when i write the json to a file the timestamp is shown with decimals. Ex: I store 1234560000, i got 1234560000.0 on the json generate file.
Regards.
-
Take a look here: http://qt-project.org/forums/viewthread/24013/