You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Decimal values in JSON are odd. If the number is in quotes it is treated differently from when it is outside of quotes. If it is in quotes, then the locale can be taken into account when trying to parse it. So numbers like "1,000.001" are valid in quotes for decimals, but not outside of quotes.
In theory any local that java supports could also be supported for parsing these quoted string numbers. Sadly numbers from Thai and Hindi appear to be supported for en-US which is the default.
Not sure how much we want to split this up or what, but it is a bit complicated.
The text was updated successfully, but these errors were encountered:
Describe the bug
Decimal values in JSON are odd. If the number is in quotes it is treated differently from when it is outside of quotes. If it is in quotes, then the locale can be taken into account when trying to parse it. So numbers like "1,000.001" are valid in quotes for decimals, but not outside of quotes.
In theory any local that java supports could also be supported for parsing these quoted string numbers. Sadly numbers from Thai and Hindi appear to be supported for
en-US
which is the default.Not sure how much we want to split this up or what, but it is a bit complicated.
The text was updated successfully, but these errors were encountered: