Hacker News new | ask | show | jobs
by tsaixingwei 5603 days ago
Wouldn't that only work if the json/javascript is pretty-printed and not minified?

I'd think this problem of comments in JSON requires a solution that is part of the JSON specifications rather than dependent on individual parsers implementations.

Or perhaps JSON only really shines as a data interchange format and not much else.