From: Eli Zaretskii <eliz@gnu.org>
To: Anantha Kumaran <ananthakumaran@gmail.com>
Cc: 46811-done@debbugs.gnu.org
Subject: bug#46811: 27.1; json-pretty-print fails if there is a map with "t" as one of the keys
Date: Sat, 27 Feb 2021 13:17:59 +0200 [thread overview]
Message-ID: <83sg5hoj2w.fsf@gnu.org> (raw)
In-Reply-To: <CACxPpPD76Z4TjRZ1x124zKp1G2=75Ayyy1XHDrSq0NMM9afx2w@mail.gmail.com> (message from Anantha Kumaran on Sat, 27 Feb 2021 12:19:01 +0530)
> From: Anantha Kumaran <ananthakumaran@gmail.com>
> Date: Sat, 27 Feb 2021 12:19:01 +0530
>
> mark the json text below and run M-x json-pretty-print
>
> {"t": "hello"}
>
> Debugger entered--Lisp error: (json-key-format t)
> signal(json-key-format (t))
> json-pretty-print(1 15 nil)
> funcall-interactively(json-pretty-print 1 15 nil)
> call-interactively(json-pretty-print record nil)
> command-execute(json-pretty-print record)
> execute-extended-command(nil "json-pretty-print" "json")
> funcall-interactively(execute-extended-command nil "json-pretty-print" "json")
> call-interactively(execute-extended-command nil nil)
> command-execute(execute-extended-command)
Thanks, this is already fixed in the development sources, which will
become Emacs 28.
prev parent reply other threads:[~2021-02-27 11:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-27 6:49 bug#46811: 27.1; json-pretty-print fails if there is a map with "t" as one of the keys Anantha Kumaran
2021-02-27 11:17 ` Eli Zaretskii [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=83sg5hoj2w.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=46811-done@debbugs.gnu.org \
--cc=ananthakumaran@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.