1961Re: Stripping comments from JSON.
- May 26, 2013On Sunday, May 26, 2013, douglascrockford wrote:
> **be the case, and the root of my confusion) to be consensus that parsers
> 'json%40yahoogroups.com');>, Dave Gamble <davegamble@...> wrote:
> > Will be very appreciative of any thought/feedback on the matter. Sorry if
> > this one has come up before and I've not seen the thread.
> Have you read the JSON RFC? http://www.ietf.org/rfc/rfc4627.txt
> Of course. However, in the wild, there appears (and this may in fact not
should "keep JSON pure", and reject comments.
I understand that according to the RFC parsing comments natively is
acceptable, but it seems to be generally frowned upon.
Hence, I wondered whether a simple preprocessor might be best of both world.
>[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>