Problem returning JSON from CFCS

2014-12-09 Thread Steve Durette
Hi all, I'm having a problem returning JSON from a CFC. Windows server 2012 Railo 4.2.1.008 IIS When I use fiddler it shows the data in the JSON view, but in the raw data view, Echo is on is before the JSON. This is causing the query .getjson to fail on character E. I'm sure that it is

Re: Problem returning JSON from CFCS

2014-12-09 Thread Byron Mann
So the http response actually has Echo is on? Maybe there is just some additional output occurring in the CFC or Application.cfc that is outputting that string prior to the JSON response. On Tue, Dec 9, 2014 at 4:48 PM, Steve Durette st...@durette.org wrote: Hi all, I'm having a problem

Re: Problem returning JSON from CFCS

2014-12-09 Thread Steve Durette
Ok now I feel really stupid. Weeks ago I decided that I needed an empty Aplication.cfc in the directory with the CFCs. I was in the command line so I decided to do a ECHO. Application.cfc and that would have given a file with a blank line. However I missed the period right after echo and the