News for hackers. Stuff that matters.
Re:Show HN: JSON5 — modern JSON by jahewson on Monday May 28, 2012 @05:27AM (#4032618)
This reminds me of I guy I met who was trying to build a clone of Twitter, but with messages of unlimited length. In his view this made it objectively "better". He understood the what of the software, but not the why.

If you really want ES5 for writing package.json files, then you could save the time and effort by just using ES5:

    var _ = 

    { 
      some: 'object literal',
      // a comment
      num: 3,
    }
   
    fs.writeFileSync(path.basename(__filename, '.js') + '.json', JSON.stringify(_))

There are no comments on this comment yet.