I think you are double encoding your JSON. You don't need to put returnFormat="JSON" in the component definition AND use the SerializeJSON() function. Pick one. Your CFC is returning JSON- but it is a JSON representation of a string that also just so happens to be a JSON representation of your result set.
~Brad -------- Original Message -------- Subject: Re: JSON object error From: sandeep saini <sandeep00...@yahoo.com> Date: Fri, March 12, 2010 3:41 pm To: cf-talk <cf-talk@houseoffusion.com> When I use "http://127.0.0.1:8500/prototype/getData.cfc?method=rptData&idval=0000000004" in URL, I get following displayed in browser- "{\"COLUMNS\":[\"REPORT_NAME\"],\"DATA\":[[\"AAA\"],[\"BBB\"]]}" Looks like the JSON object is properly get created. Then not sure whats wrong ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331719 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm