From b044b7db4db3581d3d3b13352e8bb519cb31b5d3 Mon Sep 17 00:00:00 2001 From: "John J. Aylward" Date: Wed, 14 Aug 2019 11:47:49 -0400 Subject: [PATCH] clarifies exception that the parser makes when reading JSON --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82debfab3..6691ef93c 100644 --- a/README.md +++ b/README.md @@ -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: