Hacker News new | ask | show | jobs
by codedokode 560 days ago
> JSON as a file-format should allow comments.

JSON is awful for writing manually because it requires typing too many quotes, commas etc. I think JSON is meant to be machine-generated and machine-read and therefore doesn't need any comments.

2 comments

You're a programmer and you're against writing quotes and commas? You must really hate coding. I've never found JSON to be too much typing.
If you're entirely machine writing and reading, but still want to be human-legible, then XML does a much better job while also allowing for schema.