I have problem with Newtonsoft.JsonConverter in my C# app. I have decimal with trailing zeros. After convert to json - there zeros are missing.
Example:
input (decimal): 1.99000
output (json): 1.99
I have my own converter, that handles decimal value. Also, I configured FloatParseHandling as decimal.
What can I do to preserve this process?
This was a bug introduced in Json.NET 10.0.1 and reported here . It has since been fixed in 11.0.1.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.