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




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

>
> hi guys,
>
> a general question for you . iam trying to use ajax to get data from a db
> table..
>
> So i've seen that using json is a way to do that ... but iam using CF-7 MX.
> Is this ok to use? if not what is the alternate solution ?
> i am using Jquery 1.8 and CF &MX.
> Please do not ask me to upgrade my CF7 ..lol
>
> thanks
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:5967
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to