Re: coldfusion equivalent to php json_encode

2010-06-28 Thread Tom Chiverton
On Friday 25 Jun 2010 18:26:33 you wrote: > however we cannot seem to find an equivalent in coldfusion, we have tried > cfabort and setting the showError attribute, and with the SerializeJSON > but doesnt appear to work I suggest looking at what is being returned with FireBug or something, it's

Re: coldfusion equivalent to php json_encode

2010-06-26 Thread Richard White
thanks for your help >If you aren't using "returnFormat: 'JSON'" on your Ajax request calls, >then you're probably working too hard. > >You can use the SerializeJson() method, if need be. > >Steve "Cutter" Blades >Adobe Community Professional - ColdFusion >Adobe Certified Professional >Advanced

Re: coldfusion equivalent to php json_encode

2010-06-26 Thread Cutter (ColdFusion)
If you aren't using "returnFormat: 'JSON'" on your Ajax request calls, then you're probably working too hard. You can use the SerializeJson() method, if need be. Steve "Cutter" Blades Adobe Community Professional - ColdFusion Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Deve

coldfusion equivalent to php json_encode

2010-06-25 Thread Richard White
hi we have used php in the past with extjs, when validating data on the server, if something fails we pass back the failure by writing: die(json_encode('reason for failure')); it must be encoded for extjs to use it properly however we cannot seem to find an equivalent in coldfusion, we have t