Oh great! <3 I really looked for this a few weeks back! see: http://stackoverflow.com/questions/9637517/parsing-relaxed-json-without-eval
On Mon, May 28, 2012 at 3:32 AM, Aseem Kishore <[email protected]> wrote: > I love JSON, but writing it by hand has always been a pain. > > Needing to (double-)quote keys, not being able to document the data with > comments, and not having support for trailing commas or multi-line strings > -- all of which are available and work perfectly well on modern ES5 engines, > including Node. > > After stewing on this for over a year, I bit the bullet today and made this > idea a reality: a "JSON5" parser that supports these and other ES5 features > in JSON. > > https://github.com/aseemk/json5 > > It's built off of Douglas Crockford's own eval()-free JSON parser, and it's > available now on npm as "json5". > > I'd love to get your guys' thoughts and feedback on this. And it'd be a > dream if package.json files could be written in this looser syntax one day. > =) > > Cheers, > Aseem > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
