Serializing a decimal to JSON, how to round off?
I wasn’t completely satisfied with all of the techniques thus far to achieve this. JsonConverterAttribute seemed the most promising, but I couldn’t live with hard-coded parameters and proliferation of converter classes for every combination of options. So, I submitted a PR that adds the ability to pass various arguments to JsonConverter and JsonProperty. It’s been … Read more