mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
clarifies exception that the parser makes when reading JSON
This commit is contained in:
parent
115f8b660b
commit
b044b7db4d
1 changed files with 7 additions and 1 deletions
|
@ -102,7 +102,13 @@ JSON Text strings, but when output by the Generator, tab is properly converted t
|
||||||
the string. Other instances may occur where reading invalid JSON text does not cause an
|
the string. Other instances may occur where reading invalid JSON text does not cause an
|
||||||
error to be generated. Malformed JSON Texts such as missing end " (quote) on strings or
|
error to be generated. Malformed JSON Texts such as missing end " (quote) on strings or
|
||||||
invalid number formats (1.2e6.3) will cause errors as such documents can not be read
|
invalid number formats (1.2e6.3) will cause errors as such documents can not be read
|
||||||
reliably.
|
reliably.
|
||||||
|
|
||||||
|
Some notible exceptions that the JSON Parser in this library accepts are:
|
||||||
|
* Unquoted keys `{ key: "value" }`
|
||||||
|
* Unquoted values `{ "key": value }`
|
||||||
|
* Unescaped literals like "tab" in string values `{ "key": "value with an unescaped tab" }`
|
||||||
|
* Numbers out of range for `Double` or `Long` are parsed as strings
|
||||||
|
|
||||||
Release history:
|
Release history:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue