Awesome idea! Not sure about allowing commas on the last object / key but all the rest are good to go!
-- Att, Alan Hoffmeister 2012/5/27 Aseem Kishore <aseem.kish...@gmail.com> > 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 nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en