Logo for JSON

The elder days of my blog are littered with useless musings on XML and JSON. So why not throw another one on the pile? 🙂

I wish JSON supported:

  1. Multi-line strings (but no string interpolation)
  2. Trailing commas (in arrays and object property lists)
  3. Comments

Of course none of these will probably ever happen, but having any of these three would keep JSON wonderfully simple but vastly improve the user experience of those who have to hand-tweak JSON files (which is a lot of people!)

YAML has all these, but of course it has many other features that, I assume, make it burdensome to write a fully compliant parser.

§1306 · October 26, 2022 · JavaScript, Software, Technology · (No comments) · Tags: , ,