开发者

json returning with my header data

开发者 https://www.devze.com 2023-03-05 13:47 出处:网络
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 inst

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

精彩评论

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

关注公众号