Using Casablanca 2.0, compile and run the following program:
```
#include <assert.h>
#include <locale.h>
#include <cpprest/json.h>
int main()
{
setlocale(LC_ALL, "fr-FR");
auto x = web::json::value(1.5).serialize();
wprintf(L"%s\n", web::json::value(1.5).serialize().c_str());
}
```
Expected results:
1.5
Actual results:
1,5
In the French locale, the radix character is a comma, not a period. The JSON serializer should not rely on a particular global locale state.
```
#include <assert.h>
#include <locale.h>
#include <cpprest/json.h>
int main()
{
setlocale(LC_ALL, "fr-FR");
auto x = web::json::value(1.5).serialize();
wprintf(L"%s\n", web::json::value(1.5).serialize().c_str());
}
```
Expected results:
1.5
Actual results:
1,5
In the French locale, the radix character is a comma, not a period. The JSON serializer should not rely on a particular global locale state.