How to correctly serialize C# long number using controller's Json method in Asp.net mvc?
Mvc Controller.Json method serializes long number 3458764513820540917 to 3458764513820541000. I nee开发者_如何转开发d POCO with int64 property. How can I serialize C# long to json string "3458764513820540917"?
All numbers in JavaScript are, in fact, 64-bit floats.
It looks to me like you're hitting the range/precision limitations of that format on the client-side, rather than this being a problem with (de)serialisation.
精彩评论