From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24252: 25.1; json.el doesn't distinguish null and empty object Date: Tue, 12 Jun 2018 20:14:27 +0300 Message-ID: <83o9gg3p1o.fsf@gnu.org> References: <87o9hci1c5.fsf@cassou.me> <877enniz5h.fsf@petton.fr> <87tvq9v40s.fsf@cassou.me> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1528823590 1163 195.159.176.226 (12 Jun 2018 17:13:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2018 17:13:10 +0000 (UTC) Cc: phst@google.com, nicolas@petton.fr, mvoteiza@udel.edu, ted@oconnor.cx, 24252@debbugs.gnu.org, dgutov@yandex.ru, yoichi.nakayama@gmail.com To: Damien Cassou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 19:13:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSmqt-0008W8-3b for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 19:13:03 +0200 Original-Received: from localhost ([::1]:57516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSmsy-0001gh-C8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 13:15:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSmss-0001gA-AK for bug-gnu-emacs@gnu.org; Tue, 12 Jun 2018 13:15:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSmso-0006eg-Hd for bug-gnu-emacs@gnu.org; Tue, 12 Jun 2018 13:15:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37402) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSmso-0006eV-DD for bug-gnu-emacs@gnu.org; Tue, 12 Jun 2018 13:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fSmso-0005e0-8I for bug-gnu-emacs@gnu.org; Tue, 12 Jun 2018 13:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jun 2018 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24252 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24252-submit@debbugs.gnu.org id=B24252.152882367521643 (code B ref 24252); Tue, 12 Jun 2018 17:15:02 +0000 Original-Received: (at 24252) by debbugs.gnu.org; 12 Jun 2018 17:14:35 +0000 Original-Received: from localhost ([127.0.0.1]:45299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSmsI-0005cx-JJ for submit@debbugs.gnu.org; Tue, 12 Jun 2018 13:14:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSmsH-0005cl-UZ for 24252@debbugs.gnu.org; Tue, 12 Jun 2018 13:14:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSmsB-0006Dv-Ug for 24252@debbugs.gnu.org; Tue, 12 Jun 2018 13:14:24 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSms5-0006BL-QH; Tue, 12 Jun 2018 13:14:17 -0400 Original-Received: from [176.228.60.248] (port=4188 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fSms5-0003Xl-64; Tue, 12 Jun 2018 13:14:17 -0400 In-reply-to: <87tvq9v40s.fsf@cassou.me> (message from Damien Cassou on Mon, 11 Jun 2018 15:36:35 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147334 Archived-At: > From: Damien Cassou > Date: Mon, 11 Jun 2018 15:36:35 +0200 > Cc: Philipp Stephani , Mark Oteiza , > Theresa O'Connor , 24252@debbugs.gnu.org, > Dmitry Gutov > > Nicolas Petton writes: > > Damien Cassou writes: > >> please find a patch attached. This patch uses :json-null to distinguish, > >> during pretty-print, between the value null and an empty object. > > > > It looks good to me, but I'm wondering if encoding/decoding (not > > pretty-printing) will be backward-compatible or not. > > no one who has worked on this module before is willing to review this > small change? Sorry about that. From my POV, Nico asked a question that I didn't see answered, so the patch is still "being discussed", as far as I'm concerned. If you can address Nicolas's concern, we should be able to move ahead. Thanks.