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.


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: