Re: JSON response need a little help

2010-06-30 Thread Brian Kotek
To get the case to match, use the bracket structure syntax: i.e. response['hotspots'] = . will preserve the case of the key. When you do response.hotspots, CF automatically uppercases the key. On Wed, Jun 30, 2010 at 10:49 AM, Glyn Jackson glyn.jack...@newebia.co.ukwrote: Hi I am trying

Re: JSON response need a little help

2010-06-30 Thread Glyn Jackson
simply things! thanks that is something I missed yes. one last thing looking at what they want back it seems that 'hotspots' needs to be an array can you do implicit Arrays in CF like this would this not give me an error? ~|

RE: JSON response need a little help

2010-06-30 Thread Andy Matthews
: Wednesday, June 30, 2010 10:18 AM To: cf-talk Subject: Re: JSON response need a little help simply things! thanks that is something I missed yes. one last thing looking at what they want back it seems that 'hotspots' needs to be an array can you do implicit Arrays in CF like this would this not give me

Re: JSON response need a little help

2010-06-30 Thread Glyn Jackson
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,

RE: JSON response need a little help

2010-06-30 Thread Andy Matthews
[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