GNU bug report logs - #32793
27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type

Previous Next

Package: emacs;

Reported by: Xu Chunyang <mail <at> xuchunyang.me>

Date: Fri, 21 Sep 2018 12:58:01 UTC

Severity: minor

Found in version 27.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#32793: closed (27.0.50; json-parse-string doesn't have the
 equivalent of json.el's json-array-type)
Date: Fri, 12 Apr 2019 22:37:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 13 Apr 2019 01:36:39 +0300
with message-id <b37eb858-ea53-eeec-0221-257e15de5cef <at> yandex.ru>
and subject line Re: bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type
has caused the debbugs.gnu.org bug report #32793,
regarding 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
32793: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32793
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Xu Chunyang <mail <at> xuchunyang.me>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; json-parse-string doesn't have the equivalent of json.el's
 json-array-type
Date: Fri, 21 Sep 2018 20:56:43 +0800
Hello,

We can parse JSON Array as Lisp List with json.el, e.g.,

(let ((json-array-type 'list))
  (json-read-from-string "[1,2,3]"))
;; => (1 2 3)

but the new json-parse-string doesn't have the equivalent, thus porting
existing code to using json-parse-string might be difficult.


[Message part 3 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: mail <at> xuchunyang.me, 32793-done <at> debbugs.gnu.org
Subject: Re: bug#32793: 27.0.50; json-parse-string doesn't have the equivalent
 of json.el's json-array-type
Date: Sat, 13 Apr 2019 01:36:39 +0300
On 12.04.2019 20:42, Eli Zaretskii wrote:

>> Good to install?
> 
> Yes, thanks.

Thank you.

Pushed to master, closing.


This bug report was last modified 6 years and 99 days ago.

Previous Next


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