GNU bug report logs - #42545
json-encode-key can't handle boolean values

Previous Next

Package: emacs;

Reported by: Marcelo Muñoz <ma.munoz.araya <at> gmail.com>

Date: Sun, 26 Jul 2020 08:16:01 UTC

Severity: normal

Tags: fixed, patch

Merged with 45032, 46174, 46811

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


Message #16 received at control <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: jixiuf <jixiuf <at> qq.com>
Cc: 46174 <at> debbugs.gnu.org
Subject: Re: bug#46174: 27.1; json-pretty-print: Bad JSON object key: t
Date: Fri, 29 Jan 2021 16:45:29 +0000
forcemerge 42545 46174
quit

jixiuf <jixiuf <at> qq.com> writes:

> in *scratch* buffer
> Eval: (erase-buffer)
> insert: {"t":1}
> Eval: (require 'json)
> M-x: json-pretty-print-buffer
>
> Got: json-pretty-print: Bad JSON object key: t

This is a duplicate of https://debbugs.gnu.org/42545 and
https://debbugs.gnu.org/45032.

-- 
Basil




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.