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
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
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
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
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