• Jon Skeet's avatar
    Improve number handling in JSON parsing · aa431a04
    Jon Skeet authored
    - Tighten up on Infinity/NaN handling in terms of whitespace handling (and test casing)
    - Validate that values are genuinely integers when they've been parsed from a JSON number (ignoring the fact that 1.0000000000000000001 == 1 as a double...)
    - Allow exponents and decimal points in string representations
    aa431a04
JsonParserTest.cs 35.9 KB