It turns out that in bower.json file, there is no // comments. It is true as JSON doesn't allow comments.
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.
or check out http://stackoverflow.com/questions/244777/can-i-comment-a-json-file
No comments:
Post a Comment