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

Right, why write

    '{ "foo": "bar" }'
when you could write

    JSON.stringify({ foo: "bar" })
and get a static guarantee of valid JSON?


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

Search: