[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
- Re: [PATCH] json: Add support for encoding structs, (continued)
- 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, 2017/04/25
- 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 <=
Re: [PATCH] json: Add support for encoding structs, Clément Pit-Claudel, 2017/04/24