One thing to watch out - be sure to

a) disable debugging (cfsetting tag)
b) clear whitespace before the response (cfcontent can do that and lets you
set the right content type for json crap)


On Mon, Nov 19, 2012 at 8:00 PM, Mo Lay <[email protected]> wrote:

>
> Thanks Raymond,
> i'll check if it has examples. I really appreciate your  help.
>
> thanks
>
>
> >In CF7, the best way would be to use a third party library to generate the
> >JSON for you and return it. You cannot hit a CFC directly and get JSON, so
> >if your business logic is in a CFC, you will need to build a CFM to
> >integrate with it.
> >
> >There are a couple JSON libraries at RIAForge:
> >http://www.riaforge.org/index.cfm?event=page.search#json_catid=1
> >
> >
> >
> >
> >
> >
> >>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5970
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to