I have a php page that queries a mysql db and return a .json file.
I want this page to be called within a coffeescript page, but I don't understand the syntax to accomplish this.
I have seen here that in plain js you can do:
var json = eval(<? echo $json ?>);
but this is not a valid coffeescript syntax... is there a coffeescript alternative to eval() I can use? Or is there any alternative way I can go?