mirror of
https://github.com/json-c/json-c.git
synced 2026-03-30 10:29:06 +08:00
Fix incremental parsing of invalid numbers with exponents, such as "0e+-" and "12.3E12E12", while still allowing "0e+" in non-strict mode.
Deprecate the json_parse_double() function from json_util.h
This commit is contained in:
@@ -27,6 +27,9 @@ Other changes
|
||||
arrays to be allocated with the exact size needed, when known.
|
||||
* Parsing of surrogate pairs in unicode escapes now properly handles
|
||||
incremental parsing.
|
||||
* Fix incremental parsing of numbers, especially those with exponents, e.g.
|
||||
so parsing "[0", "e+", "-]" now properly returns an error.
|
||||
Strict mode now rejects missing exponents ("0e").
|
||||
|
||||
|
||||
***
|
||||
|
||||
Reference in New Issue
Block a user