Hacker News new | ask | show | jobs
by zenojevski 4626 days ago
I've always avoided JSONP, but this would seem doable. What am I missing?

    callback(JSON.parse('{ "key":"value" }'))
Or even directly parsing the string inside of the callback.