O'Reilly logo
  • david p moore thinks this is interesting:

allowComments

From

Cover of Spark: The Definitive Guide

Note

This is supports comments, which are not actually allowed per the JSON standard.
Per Douglas Crockford: "I removed comments from JSON because I saw people were using them to hold parsing directives, a practice which would have destroyed interoperability. I know that the lack of comments makes some people sad, but it shouldn't.

Suppose you are using JSON to keep configuration files, which you would like to annotate. Go ahead and insert all the comments you like. Then pipe it through JSMin before handing it to your JSON parser" From: https://stackoverflow.com/questions/244777/can-comments-be-used-in-json