开发者

json returning with my header data

HI below is the json data returning from cfc.i used this example and when i trid to implement it working but adding to my working site gives below json data any ideas how to return only json data instead of extra site data. i used example from here. CFC JSON Output - Issue with displaying query results

Welcome to mysite Logged in as: myname

* Home
* Add 
* Edit/Update 
* Delete 


{"ROWCO开发者_运维百科UNT":1,"COLUMNS":["ID","FIRST_NAME","LAST_NAME"],"DATA":{"ID":["1234"],"FIRST_NAME":["xxx"],"LAST_NAME":["yyy"]}}


Add cfcontent reset="true" just before you return the JSON.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜