[cfaussie] ColdFusion + JSON = grrrrrrr

2011-08-05 Thread Steve Onnis
I have some JSON data being generated via javascript which is being submitted to a page. The JSON object is an array of structures and i need to make sure each structure in the array contains a particular value/pair and if it doesn't i need to insert it in. ** This is the JSON string before CF

Re: [cfaussie] ColdFusion + JSON = grrrrrrr

2011-08-05 Thread Zac Spitzer
is it in a cfc? what is the return type? On Fri, Aug 5, 2011 at 5:55 PM, Steve Onnis st...@cfcentral.com.au wrote: I have some JSON data being generated via javascript which is being submitted to a page.  The JSON object is an array of structures and i need to make sure each structure in the

RE: [cfaussie] ColdFusion + JSON = grrrrrrr

2011-08-05 Thread Steve Onnis
No its not a cfc. Its just in a cfscript block, just plain old code -Original Message- From: Zac Spitzer [mailto:zac.spit...@gmail.com] Sent: Friday, 5 August 2011 6:02 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] ColdFusion + JSON = grrr is it in a cfc? what

Re: [cfaussie] ColdFusion + JSON = grrrrrrr

2011-08-05 Thread Paul Kukiel
If this is a cfc just return the struct and set return type to json Paul On 05/08/2011, at 5:55 PM, Steve Onnis st...@cfcentral.com.au wrote: I have some JSON data being generated via javascript which is being submitted to a page. The JSON object is an array of structures and i need to make

RE: [cfaussie] ColdFusion + JSON = grrrrrrr

2011-08-05 Thread Steve Onnis
Never mind. My silly mistake. I was serializing an already serialized string -Original Message- From: Zac Spitzer [mailto:zac.spit...@gmail.com] Sent: Friday, 5 August 2011 6:02 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] ColdFusion + JSON = grrr is it in a cfc? what