diff options
author | Jon Skeet <jonskeet@google.com> | 2016-01-05 09:25:32 +0000 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2016-01-06 11:16:10 +0000 |
commit | aa431a0481b3a320517bd5eb8fff5ca5ac4030de (patch) | |
tree | 175077f27aaab001be1246a9757aab298734deae /python | |
parent | d19c26f2c878883f103d9dd4d6c53bc20482756f (diff) | |
download | protobuf-aa431a0481b3a320517bd5eb8fff5ca5ac4030de.tar.gz protobuf-aa431a0481b3a320517bd5eb8fff5ca5ac4030de.tar.bz2 protobuf-aa431a0481b3a320517bd5eb8fff5ca5ac4030de.zip |
Improve number handling in JSON parsing
- 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
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions