yeah, true...thanks, Matt!

-----Original Message-----
From: Matt Quackenbush [mailto:quackfu...@gmail.com] 
Sent: Thursday, April 29, 2010 4:32 PM
To: cf-talk
Subject: Re: jquery $.ajax - need help with json syntax


On Thu, Apr 29, 2010 at 2:43 PM, Rick Faircloth wrote:

> Now, what exactly does the 'a': {"a":a.cat,"b":a.dog,"c"}
> do?  An array for "a" ???
>

No, that would be the equivalent to a ColdFusion struct.

<cfscript>
   a = {
       a = a.cat,
       b = a.dog,
       c = ""
   };
</cfscript>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333273
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to