[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hack for JSON sequences with trailing commas?
From: |
Skip Montanaro |
Subject: |
Re: Hack for JSON sequences with trailing commas? |
Date: |
Wed, 1 Aug 2018 04:58:05 -0500 |
On Wed, Aug 1, 2018, 2:23 AM Yuri Khan <yurivkhan@gmail.com> wrote:
> On Wed, Aug 1, 2018 at 1:55 PM Barry Margolin <barmar@alum.mit.edu> wrote:
>
> > JSON is a very limited subset of Javascript notation for literals. […]
>
> More importantly, Javascript allows comments and string concatenation
> expressions, while JSON doesn’t. Which makes it a really bad choice
> for hand-written configuration files.
>
Thanks, folks. I know all this. I can (and do) handle the comment
situation. I was just asking if there was some reasonable way to support
trailing commas in sequences. If not, it won't kill me.
Skip
>