I am using beego (golang framework) and I am trying to use jquery ajax to update my web pages after the go function finishes. However I am stocked at returning JSON object so that the jquery could handle it in its success function. Is there any way to return JSON in golang or beego and how? Thanks.
2条回答 默认 最新
dsgrgaz321973284 2015-01-28 03:41关注Beego controller has a ServeJson() func, have a look at it.
解决 无用评论 打赏 举报