mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
Updates README to note that the parser does allow some invalid JSON
This commit is contained in:
parent
b3abaa5b4c
commit
42791ab12d
1 changed files with 8 additions and 0 deletions
8
README
8
README
|
@ -80,6 +80,14 @@ in the form of get(), opt(), and put() API methods.
|
||||||
Although 1.6 compatibility is currently supported, it is not a project goal and may be
|
Although 1.6 compatibility is currently supported, it is not a project goal and may be
|
||||||
removed in some future release.
|
removed in some future release.
|
||||||
|
|
||||||
|
In compliance with RFC7169 page 10 section 9, the parser is more lax with what is valid
|
||||||
|
JSON than the Generator. For Example, the tab character (U+0009) is allowed when reading
|
||||||
|
JSON Text strings, but when output by the Generator, tab is properly converted to \t in
|
||||||
|
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.
|
||||||
|
|
||||||
Release history:
|
Release history:
|
||||||
|
|
||||||
20160212 Java 1.6 compatibility, OSGi bundle. Contains the latest code as of 12 Feb, 2016.
|
20160212 Java 1.6 compatibility, OSGi bundle. Contains the latest code as of 12 Feb, 2016.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue