You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alexander Rojas (JIRA)" <ji...@apache.org> on 2016/10/10 09:56:20 UTC

[jira] [Created] (MESOS-6349) JSON Generation breaks if other locale than C is used

Alexander Rojas created MESOS-6349:
--------------------------------------

             Summary: JSON Generation breaks if other locale than C is used
                 Key: MESOS-6349
                 URL: https://issues.apache.org/jira/browse/MESOS-6349
             Project: Mesos
          Issue Type: Bug
          Components: stout
            Reporter: Alexander Rojas


In locales where the decimal separator is different from a {{.}}, i.e. Latin American locales, Europe locales and most of asia, the JSON generated is invalid, since it uses the system locale.

Example, the following code will be generated:

{code}
{
  "float_number" : 1234567,9871
}
{code}

Instead of the expected:

{code}
{
  "float_number" : 1234567.9871
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)