JSONAPIdotNET / JSONAPI.NET

MIT License
102 stars 23 forks source link

Adding globalization for decimal, double and single for conversion. #97

Closed cybermats closed 9 years ago

cybermats commented 9 years ago

Found a bug for the FilteringTransformer and the Value Converter for Decimals, doubles and singles. In some cultures, such as se-SE, the decimal point is formatted as a comma (,). I don't remember which spec is says so in but I'm pretty sure that URIs and JSON wants non-localized formatting on those.

Added some regression tests that you can test out (without my changes) to see it fail.

csantero commented 9 years ago

Thanks!