2 ms·
The lack of comments isn't really a big deal for serialisation. Nobody is really going to bother adding comments when data is serialised. You could do that with
by IshKebab 4y ago
The lack of comments isn't really a big deal for serialisation. Nobody is really going to bother adding comments when data is serialised. You could do that with XML if you wanted and I have never seen a single occurrence.
The issue is that JSON ended up being used as a configuration format too, and comments are critical there.
JSON5 is the best answer I have found.