Json.NET serializing float/double with minimal decimal places, i.e. no redundant “.0”?
As an alternative answer to question 2 (assuming you don’t want to go through the hassle of compiling your own custom version of the Json.NET source) you can create your own custom JsonConverter class to handle decimal, float, and double values. Here’s the version I’m using: class DecimalJsonConverter : JsonConverter { public DecimalJsonConverter() { } … Read more