I'm reading data from JSON with JsonConvert and JsonSerializerSettings, I haven't touched the Culture. Changing the phone OS language from en-US to nl-NL I lose my NumberFormat. Is it possible to set the NumberFormat for the app?
using (Stream stream = accessStream.AsStreamForRead((int)accessStream.Size))
{
byte[] content = new byte[stream.Length];
await stream.ReadAsync(content, 0, (int)stream.Length);
string json = Encoding.UTF8.GetString(content, 0, content.Length);
System.Diagnostics.Debug.WriteLine("Read from file: " + json);
JsonSerializerSettings serializerSettings = new JsonSerializerSettings();
serializerSettings.NullValueHandling = NullValueHandling.Ignore;
List<T> objects = JsonConvert.DeserializeObject<List<T>>(json, serializerSettings);
return objects;
}