From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#41946: 27.0.91; native json parsing: add :empty-object configuration Date: Wed, 4 Aug 2021 13:54:21 +0300 Message-ID: <8219b0ba-3f26-2e8a-4e75-fe108bf53134@yandex.ru> References: <87lfkjzjnq.fsf@gmail.com> <83366rzf69.fsf@gnu.org> <87fsvued4a.fsf@gnus.org> <87o8aicvjj.fsf@gnus.org> <05291961-8810-c805-bc29-88dfcc8206ad@yandex.ru> <8735rpiwjr.fsf@gnus.org> 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="12178"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 Cc: Philipp Stephani , 41946@debbugs.gnu.org, yyoncho To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 04 12:55:11 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 1mBEYJ-0002tw-D3 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Aug 2021 12:55:11 +0200 Original-Received: from localhost ([::1]:45112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBEYH-0007SZ-G9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Aug 2021 06:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBEYA-0007SM-4B for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2021 06:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBEY9-00071s-TS for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2021 06:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBEY9-0004pa-LU for bug-gnu-emacs@gnu.org; Wed, 04 Aug 2021 06:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Aug 2021 10:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix moreinfo Original-Received: via spool by 41946-submit@debbugs.gnu.org id=B41946.162807447218532 (code B ref 41946); Wed, 04 Aug 2021 10:55:01 +0000 Original-Received: (at 41946) by debbugs.gnu.org; 4 Aug 2021 10:54:32 +0000 Original-Received: from localhost ([127.0.0.1]:42888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBEXf-0004oq-Rw for submit@debbugs.gnu.org; Wed, 04 Aug 2021 06:54:32 -0400 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:41554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBEXe-0004ob-Ed for 41946@debbugs.gnu.org; Wed, 04 Aug 2021 06:54:30 -0400 Original-Received: by mail-wr1-f43.google.com with SMTP id c9so1714664wri.8 for <41946@debbugs.gnu.org>; Wed, 04 Aug 2021 03:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XrJkmf5BXwHHTnAaRDAHLaqwp6WkTFKkRhgb/CvGg+8=; b=GKmTO1ZmUu1cMGwJfHoiRjoDJr6na6mzbQ4nrY05W+QszXfpGtT0oEK/oNXhztTjxg C7/4gmbCXhp24t1FpKl7AJmkHeaLS0UH2bd1tr8PzKa9zW/HCPf0DoPUoCiZS+d6vEub eeJNHyKbqj/rraEJFkk0Q57JtX6GUvGy7J6keKB2Bvo0uwSsdwcVYQdF6YBI0xytnCit lc6+JvJTJIDBhrs9yyUeypfu8cjiVFXYuxRO48QYD2tu/xZ+5ttoGPPp4qJLAoMNHDTF cCxyrjpCt/CJt0Nu4Wsy0dEV7Xs3pQ6jWGc23GYQFYQUKeMT0ha+bYjf93SO/kTxjLkJ PkGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XrJkmf5BXwHHTnAaRDAHLaqwp6WkTFKkRhgb/CvGg+8=; b=m3gwjb8fF8QbOyfWHgJoE+JZjBhgHA7LKu+MywEApmnWYedCZNd+I+gFEIMDQbOkXc 71Raogo4HW2Spi6RrL7M6tiFb1xP99VEfjk1HYhKvKCe9HoPstcPEoUzCrN7Xu0cUoE4 9QYt5WHbqVrpeuE8mRO9NF9S2JrjbPOUdbAiCh43oNBW6+KSoDczeEYFMQIaHiwi3Q/O 5dinsWkhDwxEjaykUrhVjZevH56UwJ34CV4wkag7goArKlJb8/WZtyF9BAz8uZOfaiEl o6LFq8mB4fUiaetrlWf5CuAcUfCgg/NH/K4woMnYskJu+mUZa4ZYMAojIewJnZJmuUFh msCg== X-Gm-Message-State: AOAM533OXsRmvT273YhK05y7CwXOfdBym/aJ8B6onIEb8nyUepcLII7i UYBtZSWkdT0/eT2E/RCUfig= X-Google-Smtp-Source: ABdhPJx2b6DM68BNJlqHY+E0grGULvcNVtn3fsbEjFMIP6a2GyiwdXui0uYUbvmNMzdTowugjBZinA== X-Received: by 2002:adf:f2cd:: with SMTP id d13mr28051977wrp.315.1628074464290; Wed, 04 Aug 2021 03:54:24 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id v15sm5806915wmj.39.2021.08.04.03.54.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Aug 2021 03:54:23 -0700 (PDT) In-Reply-To: <8735rpiwjr.fsf@gnus.org> 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:211157 Archived-At: On 04.08.2021 08:55, Lars Ingebrigtsen wrote: > The user didn't want to rewrite the code to alter some conditionals, and > instead wanted Emacs to be changed so that they didn't have to do that. > I pointed out that the user can trivially just pre-process the data if > they didn't want to rewrite those conditionals. It's not like the request is illogical (empty object can also be conflated with empty array if json-array-type is 'list'), or it would take much effort to implement. I don't have the time to work on this now, though, so I concede to whatever is decided here.