3 ms·
Not to mention XML supports comments.
by wtetzner 9y ago
Not to mention XML supports comments.
- scintill76 9y agoOh, 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/RK8qyGVaGSr https://plus.google.com/+DouglasCrockfordEsq/posts/RK8qyGVaG...