On Mon, Dec 29, 2008 at 6:42 PM, Charlie Griefer wrote:
> if you're on CF8, deserializeJSON() should work for each of the entities
> enclosed in the {}, which would give you a struct.
> i guess the trick is the looping.

Don't loop, just make it an array by putting [] around it:

<cffile action="read" file="your_import" variable="importData" />
<cfdump var="#deserializeJSON('[#importData#]')#" />

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317232
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to