sideshowcoder / canned

Server to respond with fake API responses, by using a directory of files for finding out what to say!
213 stars 46 forks source link

Provide comment syntax for responses #3

Closed sideshowcoder closed 11 years ago

sideshowcoder commented 11 years ago

The files don't provide a way to comment the fields or even the whole file, this would ease development and documentation.

something like

// this is a comment
{
  "key":"value",
  // another comment
  "keyTwo":"oneMoreValue"
}

should result in

{ "key":"value", "keyTwo":"oneMoreValue" } 
sideshowcoder commented 11 years ago

504a596 implements this