Why JSON Doesn’t Have Comments

Douglas Crockford (via Dave Dribin): First, comments turned out to not be very useful. Second, comments were the most difficult feature to support in JSON parsers. By removing comments, support for JSON in other languages became much easier. Third, removing comments aligns JSON more closely with YAML, allowing YAML to become a JSON superset. Generally, … Continue reading Why JSON Doesn’t Have Comments