all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type
@ 2018-09-21 12:56 Xu Chunyang
  2019-04-11 16:26 ` Dmitry Gutov
  0 siblings, 1 reply; 10+ messages in thread
From: Xu Chunyang @ 2018-09-21 12:56 UTC (permalink / raw)
  To: 32793

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.





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

end of thread, other threads:[~2019-04-12 22:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-21 12:56 bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type Xu Chunyang
2019-04-11 16:26 ` Dmitry Gutov
2019-04-11 16:46   ` Eli Zaretskii
2019-04-12  0:34     ` Dmitry Gutov
2019-04-12  9:22       ` Eli Zaretskii
2019-04-12 15:02         ` Dmitry Gutov
2019-04-12 15:26           ` Eli Zaretskii
2019-04-12 15:45             ` Dmitry Gutov
2019-04-12 17:42               ` Eli Zaretskii
2019-04-12 22:36                 ` Dmitry Gutov

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.