Skip to content

Commit

Permalink
clarifies exception that the parser makes when reading JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
John J. Aylward committed Aug 14, 2019
1 parent 115f8b6 commit b044b7d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -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
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
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:

Expand Down

0 comments on commit b044b7d

Please sign in to comment.