>- see footer for list info -< If you want to return json instead of wddx you can do this with CF7 by just outputting the result instead of cfreturning it.
Russ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Boughton Sent: 10 June 2008 17:59 To: Coldfusion Development Subject: Re: [CF-Dev] WDDX<->JSON plugin for jQuery ? >- see footer for list info -< > Surely it would just be simpler to work with json period > if that's what you want and cut wddx out of the equation ? Well, I can't completely cut WDDX out - it's the only return type CF7 supports. As far as I can tell, cfjson will require me to serialize a JSON object on the client side for outgoing, and use json.cfc to convert the string to a CF object, do processingm, then use json.cfc again to produce a JSON string, return the string, strip off the outer WDDX text, and evaluate the results to get an object again. Give that eitherway I *must* do client-side processing, I'm thinking using WDDX would allow me to avoid also doing server-side stuff, and thus not have to add extra logic to handle the different return types for remote functions. _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
