4 ms·
HJSON seems a lot simpler and closer to JSON than YAML. And.. yeah, for human processing/reading/writing, ignoring trailing commas and having comment does impr
by zobzu 12y ago
HJSON seems a lot simpler and closer to JSON than YAML.
And.. yeah, for human processing/reading/writing, ignoring trailing commas and having comment does improve JSON IMO.
I don't know why JSON is so strict in fact. Virtually everyone forgets to NOT have the last comma of a list all the time.
Now then again HJSON is +1 standard and incompatible with JSON so im not sure how that'll take off.
- ngcazz 12y agoBut YAML is a superset of JSON.
- iLoch 12y agoI don't know about your comma statement. I never have a problem writing symantically correct JSON by hand - though there are limited use cases where you should need to do so anyway. If your IDE isn't marking invalid JSON syntax you need a better IDE.
- zobzu 12y agoI dont think syntax highlighting should excuse an unnecessarily complex syntax