3 ms·
JSON is a great data interchange format but I would veto it as an option for configuration files since it doesn't permit comments.
by qntm 15y ago
JSON is a great data interchange format but I would veto it as an option for configuration files since it doesn't permit comments.
- nknight 15y agoActually it does, you just have to tilt your head right. :) See [1]. Either way, the principle stands. If a desktop environment wanted to standardize on JSON + C/C++-style comments, they could extend their standard parser easily enough without meaningful performance impact. [1] http://stackoverflow.com/questions/244777/can-i-comment-a-json-file/244858#244858 http://stackoverflow.com/questions/244777/can-i-comment-a-js...