Why not to just use YAML :) ? понедельник, 28 мая 2012 г., 6:32:23 UTC+4 пользователь Aseem Kishore написал: > > 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