[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: |
Eli Zaretskii |
Subject: |
bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type |
Date: |
Thu, 11 Apr 2019 19:46:14 +0300 |
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Thu, 11 Apr 2019 19:26:23 +0300
>
> On 21.09.2018 15:56, Xu Chunyang wrote:
>
> > 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.
>
> I also stumbled on this problem when trying to port existing code to
> native JSON.
Sounds like a simple extension of the existing code, so patches are
welcome to implement this feature.
- bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type, Dmitry Gutov, 2019/04/11
- bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type,
Eli Zaretskii <=
- bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type, Dmitry Gutov, 2019/04/11
- bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type, Eli Zaretskii, 2019/04/12
- bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type, Dmitry Gutov, 2019/04/12
- bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type, Eli Zaretskii, 2019/04/12
- bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type, Dmitry Gutov, 2019/04/12
- bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type, Eli Zaretskii, 2019/04/12
- bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type, Dmitry Gutov, 2019/04/12