Re:Douglas Crockford: Why I removed comments from JSON
by mryan on Tuesday May 01, 2012 @02:53AM
(#3913324)
It appears that he is referring to JSON within the limited context of web APIs. The scenarios dismissed as a "very specific edge case in a development environment" appear to crop up all the time when using JSON for something other than APIs - for example, CloudFormation stack templates are written in JSON, and would sorely benefit from some in-line comments.
[ Parent
| on HN ]
Re:Douglas Crockford: Why I removed comments from JSON
by Yarnage on Tuesday May 01, 2012 @09:41AM
(#3914241)
>It appears that he is referring to JSON within the limited context of web APIs.
I was referring to JSON as an interchange format, which is what it is.
Arguably Amazon should have chosen something different for templates but I think that's an issue beyond simple comments and outside the scope of the argument. Regardless, it's hard to image anyone thinking it's a good idea to send comments over the wire especially if the end point is some sort of service.