Well, remember that JSON is a string representation of a complex object, not
the object itself.

So if you plan on passing the variable below through SerializeJSON, or
ColdFusion's built in JSON returnformat then you'd be okay.


andy


-----Original Message-----
From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk] 
Sent: Wednesday, June 30, 2010 10:39 AM
To: cf-talk
Subject: Re: JSON response need a little help


cool so something like this would work?...

                        response['hotspots'] = [{
                        distance ='100',
                        attribution="This is a test layer POI provider",
                        title= "My layer - snowy4",
                        lon= "53.472696",
                        lat= '-2.261843',  
                        imageURL='null',
                        line4= 'RADIOLIST-None,CustSlider-None', 
                        line3= 'SEARCHBOX - asdfdgxdg', 
                        line2= 'DevlId - 896Settings: range=1000', 
                        actions='', 
                        type='0', 
                        id='test_1'
                        
                        }];





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

Reply via email to