Open tomsoftware opened 3 years ago
@neuecc : It seems like you do not maintain this library anymore... that's a pity. Can you maybe note that on the readme page or name a new maintainer?
For example this Issue feels really bad cause it occurs only sporadically on some numbers (the example-number and it's number of digits was first triggert by simply using JSON.Stringify() ) and if no one is able to fix issues like this no one should use this library :-(
Your example are deserialize correctly if use decimal type:
public class ClassA { public decimal A { get; set; } }
var x = JsonSerializer.Deserialize<ClassA>("{ \"A\": 59.08634249999999 }");
Some Float-Point Numbers are not Deserialize correctly
Example:
will result in