unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46174: 27.1; json-pretty-print: Bad JSON object key: t
@ 2021-01-29 14:34 jixiuf
  2021-01-29 16:45 ` Basil L. Contovounesios
  0 siblings, 1 reply; 2+ messages in thread
From: jixiuf @ 2021-01-29 14:34 UTC (permalink / raw)
  To: 46174



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



In GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
of 2020-08-12 built on builder10-14.porkrind.org
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.7

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
json
Making completion list...
json-pretty-print: Bad JSON object key: t
previous-line: Beginning of buffer [2 times]
Undo
Quit [2 times]
kill-region: Buffer is read-only: #<buffer *Messages*>
Making completion list...

Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
THREADS JSON PDUMPER

Important settings:
  value of $LC_ALL: zh_CN.UTF-8
  value of $LANG: zh_CN.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs text-property-search time-date
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils json subr-x map seq byte-opt gv bytecomp
byte-compile cconv china-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize
mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 46344 6259)
(symbols 48 6055 1)
(strings 32 15776 1770)
(string-bytes 1 519360)
(vectors 16 10976)
(vector-slots 8 185421 12686)
(floats 8 21 20)
(intervals 56 229 0)
(buffers 1000 12))





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#46174: 27.1; json-pretty-print: Bad JSON object key: t
  2021-01-29 14:34 bug#46174: 27.1; json-pretty-print: Bad JSON object key: t jixiuf
@ 2021-01-29 16:45 ` Basil L. Contovounesios
  0 siblings, 0 replies; 2+ messages in thread
From: Basil L. Contovounesios @ 2021-01-29 16:45 UTC (permalink / raw)
  To: jixiuf; +Cc: 46174

forcemerge 42545 46174
quit

jixiuf <jixiuf@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-29 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29 14:34 bug#46174: 27.1; json-pretty-print: Bad JSON object key: t jixiuf
2021-01-29 16:45 ` Basil L. Contovounesios

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).