Details
Description
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:
{
"float_number" : 1234567,9871
}
Instead of the expected:
{
"float_number" : 1234567.9871
}
This problem doesn't affect Mesos executables since they completely ignore the system's locale, but it does affect applications built in Java upon stout and libprocess since the JVM does set the process locale to the system one.