Hacker News new | past | comments | ask | show | jobs | submit login

That only works if it's surrounded by parenthesies. A bare object literal is not syntactically valid JavaScript.



i think jquery can deal with a straight json response, but i may be wrong.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: