From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#42994: [External] : bug#42994: 27.1;
json-serialize unable to serialize JSON values
Date: Sun, 14 Feb 2021 11:00:55 +0100
Message-ID:
References:
<87lfbrrfn6.fsf@tcd.ie>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="3079"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: "Basil L. Contovounesios" ,
"42994@debbugs.gnu.org" <42994@debbugs.gnu.org>
To: Jimmy Yuen Ho Wong
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 14 11:02:47 2021
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from )
id 1lBEEp-0000hm-On
for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 11:02:47 +0100
Original-Received: from localhost ([::1]:59324 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1lBEEo-0001MM-Qu
for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 05:02:46 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48410)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1lBEE9-0001Lv-Pk
for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2021 05:02:05 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:52131)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1lBEE5-0000Zt-Q3
for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2021 05:02:05 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1lBEE5-0007Fi-MB
for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2021 05:02:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 14 Feb 2021 10:02:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 42994
X-GNU-PR-Package: emacs
Original-Received: via spool by 42994-submit@debbugs.gnu.org id=B42994.161329687427823
(code B ref 42994); Sun, 14 Feb 2021 10:02:01 +0000
Original-Received: (at 42994) by debbugs.gnu.org; 14 Feb 2021 10:01:14 +0000
Original-Received: from localhost ([127.0.0.1]:35444 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lBEDK-0007Eg-K9
for submit@debbugs.gnu.org; Sun, 14 Feb 2021 05:01:14 -0500
Original-Received: from mail-ot1-f51.google.com ([209.85.210.51]:35995)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lBEDH-0007ET-UJ
for 42994@debbugs.gnu.org; Sun, 14 Feb 2021 05:01:12 -0500
Original-Received: by mail-ot1-f51.google.com with SMTP id 100so3518799otg.3
for <42994@debbugs.gnu.org>; Sun, 14 Feb 2021 02:01:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=E2JIWqefasD1JaAez9SqIeXV3Obn3i05gp6eSDwLLOk=;
b=UkBGRsxxrqpL6fcGsHBEHogAXBN0lKnvto/tENhFGaZkFqMuqW6OgLXDC25XspsORy
igDsyM0RBO9s17T/Rp5IOVC0LNSY0iDaRCWRS30xBi2qOWH0KEe/I7bLjTrjP44oIO2Q
WrHrR30Izyr34cLtUmEjOop3+kYaUMiU2t4DJkNdGRAuvQ4gWvJFt1qUE0Vpn03an8np
DUTCbonMtVxYjcrNvygAlGPPwWswX4YXJvcty3H+ffZm/waAqcq1v5j0lMruYsqyTWOr
M2buoTt5vu5XcAKmvu8IG+KAMcQPNY+jBssKs+d64v6y8IqaVBLI1gm6+Koz1g7L+X3W
rwHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=E2JIWqefasD1JaAez9SqIeXV3Obn3i05gp6eSDwLLOk=;
b=jm93mmFmgu6bcTDj1tXIZSAXKWJ0Tie4Vw9owR8ot0rsomJdP3tkj6ZP634whCYWd8
8uHW3uUJXkf28kgUfYAKKJjKyGTYAE8/7AZPeWRO8FoeNW7LwJKGVQXejx7KqxIVcwRJ
Fff/qDss602NzVDFG22pGGd2ZAh1yh9zVfMog2/LI8lS+Gbf6Yy7/69Bk70oMaIhKl4y
WsheiXCWs9YBS3FAD3y4QzRXHRZvs1DGFqAgHhOd7ucVqnQlfWmqe4VQ7RLDFa57WdjE
nXlFBNW2CcQAEB2Q6jjrR9beT24WzrBbkckV7hBCvlOaxvADxp4y/Tn+HOqRgwhw94IU
N2hg==
X-Gm-Message-State: AOAM532xNq5tDFlZCGbrvcbvPYCaENfUWHotp0lqXYe4/HA5Hr4m+4jH
cmNiBOgNi5MJKHIB1KIcKB99yOGH4BpFf70u4oo=
X-Google-Smtp-Source: ABdhPJzq6nBBa1wILDx9FAgE92ReIswSic8unPIzZJC51G7F5SmDCaHlS5vJRutdkjS1Aa0nYE4YmjoQslfas+BdCHc=
X-Received: by 2002:a05:6830:1051:: with SMTP id
b17mr7848908otp.156.1613296866129;
Sun, 14 Feb 2021 02:01:06 -0800 (PST)
In-Reply-To:
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.io gmane.emacs.bugs:199988
Archived-At:
Am So., 14. Feb. 2021 um 01:40 Uhr schrieb Jimmy Yuen Ho Wong
:
>
> 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.