dotvvm
dotvvm copied to clipboard
Handle floating point NaN, Infinity and -Infinity
There is a number of problems with these special values:
- [ ] They are serialized as string in Newtonsoft.Json, we should add support to coercer for parsing NaN. Seems that it already support Infinity and -Infinity
- [ ] The bigger problem is that in order to serialize them for transfer back to server we'd need to serialize them as strings from JS. Javascript serializes all 3 as
nullwhich is not super helpful...