Subject: Re: [External] : bug#42994: 27.1; json-serialize unable to serialize JSON values

From: Jimmy Yuen Ho Wong <[email-masked]>
Date: Sun, 14 Feb 2021 00:40:05 +0000

If the original intention for `json-serialize` was to offer a 
functionally equivalent native version of `json-encode`, then this is a 
bug. There was no discussion about this mismatch whatsover, so my guess 
is this was an omission and thus a bug.

On 13/02/2021 11:30 PM, Drew Adams wrote:
>> Thanks!  Does this need calling out in etc/NEWS, or is it considered
>> more of a bugfix?
> (Again, not really following this thread.)
>
> If Emacs support of JSON parsing or serializing
> changes from considering only objects and arrays
> to be "jsons" to considering also JSON scalars
> to be "jsons", then that's not a bug fix; it's
> a change in support of the JSON language.  IMO,
> that should be called out somewhere such as NEWS.