[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] json: Add support for encoding structs
From: |
Ted Zlatanov |
Subject: |
Re: [PATCH] json: Add support for encoding structs |
Date: |
Tue, 25 Apr 2017 14:12:53 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
On Tue, 25 Apr 2017 21:56:16 +0530 Vibhav Pant <address@hidden> wrote:
VP> On Tue, Apr 25, 2017 at 7:56 PM, Ted Zlatanov <address@hidden> wrote:
>> Maybe one way is to distinguish '(:serialize-field nil) from '() by
>> checking with memq for the key?
VP> Good idea. `plist-member' seems to do the job. I've updated the patch
VP> accordingly, thanks.
It looks good to me!
(Aside: it would be nice if ERT had a way to check JSON or other
structured data in a whitespace-insensitive, canonical way, like what
`jq --sort-keys .' might produce.)
Ted
- [PATCH] json: Add support for encoding structs, Vibhav Pant, 2017/04/23
- Re: [PATCH] json: Add support for encoding structs, Ted Zlatanov, 2017/04/24
- Re: [PATCH] json: Add support for encoding structs, Vibhav Pant, 2017/04/24
- Re: [PATCH] json: Add support for encoding structs, Ted Zlatanov, 2017/04/24
- Re: [PATCH] json: Add support for encoding structs, Ted Zlatanov, 2017/04/24
- Re: [PATCH] json: Add support for encoding structs, Stefan Monnier, 2017/04/24
- Re: [PATCH] json: Add support for encoding structs, Ted Zlatanov, 2017/04/25
- Re: [PATCH] json: Add support for encoding structs, Vibhav Pant, 2017/04/25
- Re: [PATCH] json: Add support for encoding structs,
Ted Zlatanov <=
- Re: [PATCH] json: Add support for encoding structs, Stefan Monnier, 2017/04/26
- Re: [PATCH] json: Add support for encoding structs, Vibhav Pant, 2017/04/27
- Re: [PATCH] json: Add support for encoding structs, Stefan Monnier, 2017/04/27
- Re: [PATCH] json: Add support for encoding structs, Vibhav Pant, 2017/04/25
- Re: [PATCH] json: Add support for encoding structs, Davis Herring, 2017/04/24
- Re: [PATCH] json: Add support for encoding structs, Vibhav Pant, 2017/04/25
Re: [PATCH] json: Add support for encoding structs, Clément Pit-Claudel, 2017/04/24