bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of jso


From: Xu Chunyang
Subject: bug#32793: 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]