all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Lars Ingebrigtsen <larsi@gnus.org>, yyoncho <yyoncho@gmail.com>
Cc: Philipp Stephani <phst@google.com>, 41946@debbugs.gnu.org
Subject: bug#41946: 27.0.91; native json parsing: add :empty-object configuration
Date: Mon, 2 Aug 2021 02:53:56 +0300	[thread overview]
Message-ID: <05291961-8810-c805-bc29-88dfcc8206ad@yandex.ru> (raw)
In-Reply-To: <87o8aicvjj.fsf@gnus.org>

On 31.07.2021 19:12, Lars Ingebrigtsen wrote:
> You can wrap the json calls with a function that flips nil/:empty-object
> easy enough, can't you?

By copying the object tree and substituting nil for something else 
recursively?

That says "more GC" to me, which can be a problem when the structure is 
big enough.





  reply	other threads:[~2021-08-01 23:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-19  5:52 bug#41946: 27.0.91; native json parsing: add :empty-object configuration Ivan Yonchovski
2020-06-19  7:29 ` Eli Zaretskii
2020-06-19  8:07   ` yyoncho
2021-07-31 15:07     ` Lars Ingebrigtsen
2021-07-31 15:51       ` yyoncho
2021-07-31 16:12         ` Lars Ingebrigtsen
2021-08-01 23:53           ` Dmitry Gutov [this message]
2021-08-04  5:55             ` Lars Ingebrigtsen
2021-08-04 10:54               ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=05291961-8810-c805-bc29-88dfcc8206ad@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=41946@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=phst@google.com \
    --cc=yyoncho@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.