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

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

bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a


From: Dmitry Gutov
Subject: bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error
Date: Sun, 6 Dec 2020 21:26:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 06.12.2020 19:02, Philipp Stephani wrote:
I designed the C JSON
functions partially because I disagree with some aspects of API design
and behavior of the Elisp functions, so they are pretty much
incompatible on purpose

So this difference in keywords serialization was by design?

ELISP> (json-serialize '(:a 1 :b 2))
"{\"a\":1,\"b\":2}"
ELISP> (json-serialize '((:a . 1) (:b . 2)))
"{\":a\":1,\":b\":2}"





reply via email to

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