On Mon, Apr 10, 2017 at 2:27 PM, Richard Hipp <[email protected]> wrote:
> On 4/10/17, Richard Hipp <[email protected]> wrote: > > SQLite returns true from json_valid() for the following cases which > > should allegedly be false: > > > > n_multidigit_number_then_00.json > > n_string_unescaped_newline.json > > n_string_unescaped_tab.json > > > > The second and third are now fixed on trunk. > > The first test case consists of a valid JSON with an extra 0x00 > terminator. As SQLite interprets the 0x00 as an end-of-string marker, > I do not see this one as an error. Great! Thanks Richard. FWIW, looking for whether trailing zeros for the fractional part of reals was OK, (seems like they are), I ran into http://json5.org/ which is an interesting "for-humans" extension to JSON. --DD _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

