阅读背景:

在Rails模型中使用.to_json(集合)创建的JSON不可读jquery

来源:互联网 

I fetched the results of a query in the model. Next i right away added a .to_json and assumed I will get a correct JSON object. But JQuery was not able to parse the jsonI fetched the results of a query in the model.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: