JSON with Comments!?

I didn’t realize this was possible.  It looks like this ingenious developer over at FadeFade.com has discovered a way to slip comments into JSON.

 

{
  "somekey" : "This is a comment.",
  "somekey" : "myvalue",

  "foobar" : "This is another comment, I like pie!",
  "foobar" : 3.141592,
}

For the full details, check out the original article here: http://fadefade.com/json-comments.html