Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's an ugly workaround, not a solution. It helps breed half-baked "solutions" like the "pipe through jsmin" Crockford himself suggests.

Ultimately, it makes JSON unsuitable for configuration files (there are other reasons for that, to be fair, like over-verboseness)



Not necessarily. If you're naming your keys nicely, and using an easily-understandable structure, for simple config files, you shouldn't really need comments.


"simple config files" implies an optimist. Good for you, sir.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: