|
From: | Dmitry Gutov |
Subject: | bug#40693: 28.0.50; json-encode-alist changes alist |
Date: | Sun, 19 Apr 2020 03:10:14 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 19.04.2020 02:13, Michael Heerdegen wrote:
I mean, it's really an example of an ugly trap, but how is `json-encode-alist' different from other functions working with lists that would exploit the same problem?
It's a difference between cl-delete and cl-remove. For example.But unlike both of them, the semantics of json-encode-alist give no indication that the argument is going to be modified.
[Prev in Thread] | Current Thread | [Next in Thread] |