returnformat

2014-03-26 Thread Byron Mann
Is there a better way to determine the return format inside an executing CFC method? Right now, I'm checking for url.returnformat exists and that == to json. Basically I want to overload an existing method that currently returns a query and return a different json format for the query than just

Re: returnformat

2014-03-26 Thread Steve 'Cutter' Blades
Byron, What is it, exactly, that you're trying to do? CF Splendor (in beta now) allows for custom serializers, as well as the more standard name/value record pairings many client side apps need. I'm doing these conversions client-side now, with my serializeCFJSON jQuery plugin

Re: returnformat

2014-03-26 Thread Byron Mann
Your jQuery plugin is exactly what I want to do. Thanks for that. Still would be neat to know if there is another way to access the runtime value of returnformat other than the url scope. Just a curiosity thing at this point. Byron Mann Lead Engineer Architect HostMySite.com On Wed, Mar 26

Re: returnformat

2014-03-26 Thread Raymond Camden
...@gmail.com wrote: Your jQuery plugin is exactly what I want to do. Thanks for that. Still would be neat to know if there is another way to access the runtime value of returnformat other than the url scope. Just a curiosity thing at this point. Byron Mann Lead Engineer Architect