GNU bug report logs - #42994
27.1; json-serialize unable to serialize JSON values

Previous Next

Package: emacs;

Reported by: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>

Date: Sun, 23 Aug 2020 12:26:02 UTC

Severity: normal

Merged with 46486

Found in versions 27.1, 28.0.50

Done: Philipp <p.stephani2 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #53 received at 42994 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>
Cc: "Basil L. Contovounesios" <contovob <at> tcd.ie>,
 "42994 <at> debbugs.gnu.org" <42994 <at> debbugs.gnu.org>,
 Drew Adams <drew.adams <at> oracle.com>
Subject: Re: [External] : bug#42994: 27.1; json-serialize unable to serialize
 JSON values
Date: Sun, 14 Feb 2021 11:00:55 +0100
Am So., 14. Feb. 2021 um 01:40 Uhr schrieb Jimmy Yuen Ho Wong
<wyuenho <at> gmail.com>:
>
> 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.

Yes, replicating json-encode was not the intention.

>
> 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.




This bug report was last modified 4 years and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.