Re:In Defense of COS, or Why I Love JSON and Hate XML
by masklinn on Sunday December 02, 2012 @03:48PM
(#4862444)
On the other hand, comments were explicitly excluded from JSON by Crockford (with the thinking — probably correct — that they'd be abused to embed such things as parsing directives or other out-of-band content)
[ Parent
| on HN ]
Re:In Defense of COS, or Why I Love JSON and Hate XML
by TazeTSchnitzel on Sunday December 02, 2012 @05:01PM
(#4862705)
I believe he was correct at the time, he removed them once people started using them for parsing directives. (JSON hasn't always been frozen)
Re:In Defense of COS, or Why I Love JSON and Hate XML
by angersock on Sunday December 02, 2012 @07:46PM
(#4863349)
Having seen/used the rudimentary commenting mechanism in Wavefront .OBJ files (a 3D interchange format) to stuff in more modern information (tangents, additional UV channels, etc. etc.), I can say that comments can help a format live on well past its expiry date.
That said, I will not pretend for a second that this is a good idea. Crockford did the right thing.