Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I believe you should do something like this:

  json.stringify({unquoted:'Some value', trailing_comma:true,})
instead of hand-writting JSON data in tests.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: