JSON.parse, yes. One specific problem is that node's jshint seem to minify json before parsing it. I'm wondering if this should do the same (it strips out the comments, for example, which JSON.parse does not allow).