Subject: bug#42733: 27.1; json-serialize does not encode list like json-encode

From: [email-masked] (황병희)
Date: Fri, 07 Aug 2020 11:18:25 +0900

Jimmy Yuen Ho Wong <[email-masked]> writes:

> ...
>> Reproduction:
>>
>> (json-encode '("foo" "bar"))
>> => "[\"foo\",\"bar\"]"
>>
>> (json-serialize '("foo" "bar"))
>>
>> Debugger entered--Lisp error: (wrong-type-argument symbolp "foo")
>>    json-serialize(("foo" "bar"))
>>
>> The potential for people to naively substitute json-encode with
>> json-serialize and breaking their code is enormous. This is already
>> happening in lsp-mode. Please make json-serialize behave like
>> json-encode.
>>
>> Jimmy Yuen Ho Wong

I just would like to raise up this PR because i like very much JSON things. 

So thanks for Jimmy, indeed...!!!

Sincerely, JSON fan Byung-Hee

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//