Hacker News new | ask | show | jobs
by adrusi 4009 days ago
Right, why write

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

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