On 14/10/2014 19:06, Milian Wolff wrote: > It might mean that you'll have to store > everything as a string in JSON to prevent a loss of data when storing e.g. > std::limits<quint64>::max() (note: JSON only knows double).
To be more precise : JSON itself does not assume anything about number precision. JavaScript, as well as QJsonValue, do assume that any number is a double precision, but nothing in RFC 4627 says that. libjson (at least) assumes that number values in JSON can be signed int64. This specific issue may be better handled in QJsonValue than in a QConfig class. Regards, Julien Blanc _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development