From: Lars Ingebrigtsen <larsi@gnus.org>
To: Philipp <p.stephani2@gmail.com>
Cc: 42733@debbugs.gnu.org, Philipp Stephani <phst@google.com>,
Jimmy Yuen Ho Wong <wyuenho@gmail.com>
Subject: bug#42733: 27.1; json-serialize doesn't not encode list like json-encode
Date: Mon, 05 Jul 2021 21:48:11 +0200 [thread overview]
Message-ID: <87zgv0v8xw.fsf@gnus.org> (raw)
In-Reply-To: <F19015E7-324F-403C-93DB-B1A0FA0434A6@gmail.com> (Philipp's message of "Mon, 5 Jul 2021 19:45:19 +0200")
Philipp <p.stephani2@gmail.com> writes:
>> So I'd be inclined to just regard this as a feature, but I've added
>> Philipp to the CCs -- perhaps he has some comments.
>
> What Lars said. In general, DWIM can be a good choice for high-level
> user-facing commands, but not for lower-level library functions like
> this. Second-guessing the intention of the caller often generates
> surprising or subtly wrong results, which isn't what you want for
> interpreting a rather low-level protocol like JSON. json-serialize
> thus very intentionally behaves differently than the json.el
> functions.
So this works as intended, and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2021-07-05 19:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-06 22:17 bug#42733: 27.1; json-serialize doesn't not encode list like json-encode Jimmy Yuen Ho Wong
2020-08-06 22:29 ` bug#42733: 27.1; json-serialize does " Jimmy Yuen Ho Wong
2020-08-07 2:18 ` 황병희
2021-06-12 12:53 ` bug#42733: 27.1; json-serialize doesn't " Lars Ingebrigtsen
2021-07-05 17:45 ` Philipp
2021-07-05 19:48 ` Lars Ingebrigtsen [this message]
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=87zgv0v8xw.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=42733@debbugs.gnu.org \
--cc=p.stephani2@gmail.com \
--cc=phst@google.com \
--cc=wyuenho@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.