Skip to content

Commit b044b7d

Browse files
author
John J. Aylward
committed
clarifies exception that the parser makes when reading JSON
1 parent 115f8b6 commit b044b7d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,13 @@ JSON Text strings, but when output by the Generator, tab is properly converted t
102102
the string. Other instances may occur where reading invalid JSON text does not cause an
103103
error to be generated. Malformed JSON Texts such as missing end " (quote) on strings or
104104
invalid number formats (1.2e6.3) will cause errors as such documents can not be read
105-
reliably.
105+
reliably.
106+
107+
Some notible exceptions that the JSON Parser in this library accepts are:
108+
* Unquoted keys `{ key: "value" }`
109+
* Unquoted values `{ "key": value }`
110+
* Unescaped literals like "tab" in string values `{ "key": "value with an unescaped tab" }`
111+
* Numbers out of range for `Double` or `Long` are parsed as strings
106112

107113
Release history:
108114

0 commit comments

Comments
 (0)