Re:An introduction to Wayland
by wtetzner on Monday June 12, 2017 @03:18PM
(#14540168)
Not to mention XML supports comments.
[ Parent
| on HN ]
Re:An introduction to Wayland
by scintill76 on Monday June 12, 2017 @03:45PM
(#14540415)
Oh, just put an object key named "//" with your comment as the value, and change the software to ignore such keys! /sarcasm
My rage over JSON not supporting comments grows every time I have to write some config file in it. Crockford tells you, "Go ahead and insert all the comments you like. Then pipe it through JSMin before handing it to your JSON parser."[0]... 99% of the usecases for JSON offer no way to insert a preprocessor into that pipe.
[0] https://plus.google.com/+DouglasCrockfordEsq/posts/RK8qyGVaG...