From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jimmy Yuen Ho Wong Newsgroups: gmane.emacs.bugs Subject: bug#42994: [External] : bug#42994: 27.1; json-serialize unable to serialize JSON values Date: Sun, 14 Feb 2021 00:40:05 +0000 Message-ID: References: <87lfbrrfn6.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23741"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 Cc: "42994@debbugs.gnu.org" <42994@debbugs.gnu.org> To: Drew Adams , "Basil L. Contovounesios" , "p.stephani2@gmail.com" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 14 01:41:59 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 1lB5U7-00063m-5p for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 01:41:59 +0100 Original-Received: from localhost ([::1]:60762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lB5U6-00082e-6x for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 19:41:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lB5TC-0007nP-6h for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 19:41:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lB5TB-0001AQ-Vi for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 19:41:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lB5TB-00023y-So for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 19:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jimmy Yuen Ho Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Feb 2021 00:41: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.16132632207874 (code B ref 42994); Sun, 14 Feb 2021 00:41:01 +0000 Original-Received: (at 42994) by debbugs.gnu.org; 14 Feb 2021 00:40:20 +0000 Original-Received: from localhost ([127.0.0.1]:35245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lB5SV-00022v-LB for submit@debbugs.gnu.org; Sat, 13 Feb 2021 19:40:20 -0500 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:40293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lB5SQ-00022Y-0j for 42994@debbugs.gnu.org; Sat, 13 Feb 2021 19:40:18 -0500 Original-Received: by mail-wm1-f54.google.com with SMTP id o24so4204302wmh.5 for <42994@debbugs.gnu.org>; Sat, 13 Feb 2021 16:40:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=E8Wce9z+5H53BFDiH2Ejuk4hRe0wNIjktZwlElr6j/M=; b=oF/EBJHkiJK1jyNrNGRM2tzbXgzcLkPELPZ5Y3CbQm/haKnviNpn9jBIxNjsrIGPo5 VlJ3qQq3WeF1Oqn36RR/bjjRl6JpTuFhtfy5yktERrmoj/xXp/yEwDXOv7WDGm5JiLJV dBWpygfE155FSXO/+mwRBkebtNrGOb6HgqcLaP1ONtq/p97mejYwL1D0wlpp7cKlL05o ZTqG+CVvSPI59u+Vflt9FJ93pjFNbxeiwHgmEvfQ2KRMoM/FpRvbWczfTMsCIgWIgMth hbxSIJlMhmW+x0RPNTSKBeJ25nqXlQLf4cjUMGxQHLMiVe5Gm9oK3+xUudPrSpA6M6Ev dFKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=E8Wce9z+5H53BFDiH2Ejuk4hRe0wNIjktZwlElr6j/M=; b=LFk93upyNUcw9JSVoiDlMNxxYCSyBoJQb4Cm9rWdExwQJUq983zKNPRv/DANvx4VMs KRgA7RKuEiDyVZAztBCUP9m6VeuQWFNjVXT5Ra2vxnDNoaQSVhQFLEVWvcw11v4OyckV MQ4JufqLJsW/PrirCRY2rJltr/fOM1MQkJzG+0Q4HA+pr1L9lQTAxvs8Vc3Lg70b2g0i OMnYPG4sLvNQokQ7GBVgC7Q9JgDmhHK/z4ou64YBthRaBYCHK3hFF+bj6X51xvN3GQ9Z JNHcgv/otNpoLCFlpaMDB38qhAfquMt9MCAVxYyGgPbxHgsPNPdk1vwSeSAIPgLoPx47 o4sg== X-Gm-Message-State: AOAM532rtR6R1Z/UsfQq07JZcJUFkInXK6xrldX7xrGB2F+QnSn2PGeB 9/V3/ihdyXeoGKcTuZ108imht1hAJzqaAA== X-Google-Smtp-Source: ABdhPJxvXWL9jHlep8lF9yWUk9FgrOuyCYi5ja/AUjKi3TMjtogdV3yvqu0jvrPN39+7JTh8PcA4Vw== X-Received: by 2002:a1c:49d7:: with SMTP id w206mr8136345wma.63.1613263207565; Sat, 13 Feb 2021 16:40:07 -0800 (PST) Original-Received: from MobileCat.local ([188.214.11.130]) by smtp.gmail.com with ESMTPSA id v12sm2949091wrv.69.2021.02.13.16.40.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Feb 2021 16:40:06 -0800 (PST) In-Reply-To: Content-Language: en-US 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:199972 Archived-At: 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.