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

JSON is an amazing serialization format but hand-written JSON is completely wrong.

I think this fixes most of the problems of using it in hand-written situations. Just the lack of comments in JSON makes it inappropriate for configuration files and tests.

But this shouldn't be called JSON. JSON is strict and doesn't include comments because it's designed for interoperability between different systems. Just because it's been abused to be used for configuration files doesn't mean it needs fixing. One just needs to use the right tool for the job. Your project might be the right tool but then it's not JSON.



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

Search: