Tom...

If you're using CF8 or above, then you already have JSON functions built in.

<cfset myArray = ['andy', 'jaime']>
<cfset json = SerializeJSON(myArray)>
<cfset newArray = DeserializeJSON(json)> 

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_
c-d_43.html#5176845

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_
in-k_18.html#5177391

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_
s_03.html#292127


-----Original Message-----
From: Tom Small [mailto:t...@re-base.net] 
Sent: Wednesday, January 11, 2012 4:53 AM
To: cf-talk
Subject: Re: Convert php to cfm


Hi Andrew, I am using ColdFusion9 and have downloaded json (serialize and
deserialize) from cflibs. Although this may sound naive, can you tell me
where to include both files, also how to cfoutput it via json to my
datastore  as I am a newbie... 



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

Reply via email to