> -----Original Message-----
> From: Mike Chambers [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 17, 2005 6:47 PM
> To: CF-Talk
> Subject: Re: Ajax and CFCs
> 
> I think this was mentioned before, but check out
> 
> JSON
> http://www.crockford.com/JSON/index.html
> 
> It is an very compact format that has libraries for ColdFusion, Flash
> and JavaScript (among others).

Yes - I really like JSON as well.  It's much more compact than XML and
lightning fast.

It's only real problem (which is kind of a big one) is that it's limited to
string literals.  There's no data typing at all.

Some people find it's lack of extensibility a burden (I don't).  It only
supports JavaScript style objects (structs) and arrays (but not sparse
arrays).  There's no specific "recordset" style and you can't really add one
(although you can assume a convention of either an object of arrays or an
array of objects).

Still - it's a VERY clever idea that leverages a pre-existing nomenclature
and should work for a huge number of applications.

Jim Davis





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215518
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to