← Back to team overview

touch-packages team mailing list archive

[Bug 1360247] Re: JSON format for Variant encoding uses system locale for doubles

 

Apparently, this is fixed in version 0.8.* and 1.4.*. (Currently, the
archives provide 0.6.0.

https://github.com/open-source-
parsers/jsoncpp/commit/496c6555239e90f995bbb09ad48e17afa8058719

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1360247

Title:
  JSON format for Variant encoding uses system locale for doubles

Status in unity-scopes-api package in Ubuntu:
  Confirmed

Bug description:
  e.g. Variant(1.23).serialize_json() is going to give you different
  results depending on your system locale setting.

  This seems highly risky to use in any situation where the result could
  either be saved to disk (and then the system locale is changed) or if
  two different machines with different locales were communicating.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1360247/+subscriptions