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

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.


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

Search: