GNU bug report logs - #46811
27.1; json-pretty-print fails if there is a map with "t" as one of the keys

Previous Next

Package: emacs;

Reported by: Anantha Kumaran <ananthakumaran <at> gmail.com>

Date: Sat, 27 Feb 2021 11:06:02 UTC

Severity: normal

Tags: fixed, patch

Merged with 42545, 45032, 46174

Found in versions 24.5, 26.3, 27.1, 28.0.50

Fixed in version 28.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Anantha Kumaran <ananthakumaran <at> gmail.com>
To: 46811 <at> 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 12:19:01 +0530
[Message part 1 (text/plain, inline)]
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)
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.