Subject: Re: bug#46486: 28.0.50; json-parse-string missing support for key-less json strings

From: "Basil L. Contovounesios" <[email-masked]>
Date: Sat, 13 Feb 2021 12:30:02 +0000

forcemerge 42994 46486
quit

Thomas Hisch <[email-masked]> writes:

> The [json-parse-string] function doesn't support json strings that
> only contain a single value, which is neither a list nor a dict, e.g.
>
> "123"

Thanks.  This is a duplicate of https://bugs.gnu.org/42994.

[...]

> Note that strings that neither start with [ nor { are valid JSON objects
> according to the JSON schema.

Yes, since ECMA-404 from 2013, but unfortunately json.c currently
conforms only with RFC4627 from 2006 in this respect.

-- 
Basil