emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] json: Add support for encoding structs


From: Vibhav Pant
Subject: Re: [PATCH] json: Add support for encoding structs
Date: Tue, 25 Apr 2017 18:10:59 +0530

On Tue, Apr 25, 2017 at 4:22 AM, Davis Herring <address@hidden> wrote:
> You could use :json "" or :json 'ignore as the special value.

IIRC, the empty string is a valid JSON key (`JSON.parse(`{"":1}`)`
works in JS).
Symbols are also considered a valid type according to
`json-encode-key'.

-- 
Vibhav Pant
address@hidden



reply via email to

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