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

If you store JSON in a version control system, then it is usually hand-edited JSON. (If it is generated programmatically at runtime, then the data is in a database.)

And if a file is hand-edited, it's format should have niceties that make hand-editing more pleasant, like optional trailing commas, and comments.

By making the format more suited to hand-editing, you also make it better for diffing and VCS.



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

Search: