Re: coldfusion json truncates leading zeroes

2010-12-14 Thread Mike Chabot
27;t have the numbers handy. Also serializeJSON() killed the > WDDX serialization methods.. > > Brook > > -Original Message- > From: Mike Chabot [mailto:mcha...@gmail.com] > Sent: December-14-10 9:58 AM > To: cf-talk > Subject: Re: coldfusion json truncates leading zero

RE: coldfusion json truncates leading zeroes

2010-12-14 Thread Brook Davies
e the numbers handy. Also serializeJSON() killed the WDDX serialization methods.. Brook -Original Message- From: Mike Chabot [mailto:mcha...@gmail.com] Sent: December-14-10 9:58 AM To: cf-talk Subject: Re: coldfusion json truncates leading zeroes Which JSON libraries did you observ

Re: coldfusion json truncates leading zeroes

2010-12-14 Thread Mike Chabot
age- > From: Mike Chabot [mailto:mcha...@gmail.com] > Sent: December-14-10 7:31 AM > To: cf-talk > Subject: Re: coldfusion json truncates leading zeroes > > > You might consider exploring the open-source JSON functions instead of > using > the built-in ColdFusion fun

RE: coldfusion json truncates leading zeroes

2010-12-14 Thread Brook Davies
Note that they are considerably slower than the built in serializeJSON() functions on large objects.. Brook -Original Message- From: Mike Chabot [mailto:mcha...@gmail.com] Sent: December-14-10 7:31 AM To: cf-talk Subject: Re: coldfusion json truncates leading zeroes You might

Re: coldfusion json truncates leading zeroes

2010-12-14 Thread Mike Chabot
You might consider exploring the open-source JSON functions instead of using the built-in ColdFusion function. http://forums.adobe.com/thread/747765 -Mike Chabot On Mon, Dec 13, 2010 at 10:52 AM, fun and learning wrote: > > Hi All - > > I am using jquery jqgrid with Coldfusion. I have a cfc wh

Re: coldfusion json truncates leading zeroes

2010-12-13 Thread Raymond Camden
ve the extra characters from the JSON before decoding. > This was the only way I could get the JSON down to the client in the > original format.. > > Brook > > -Original Message- > From: fun and learning [mailto:funandlrnn...@gmail.com] > Sent: December-13-10 7:52 AM &

RE: coldfusion json truncates leading zeroes

2010-12-13 Thread Brook Davies
13-10 7:52 AM To: cf-talk Subject: coldfusion json truncates leading zeroes Hi All - I am using jquery jqgrid with Coldfusion. I have a cfc whose return format is JSON. I have a database column of type varchar, but it returns values which starts with zeroes. On displaying data, the leading zeroes are

Re: coldfusion json truncates leading zeroes

2010-12-13 Thread Michael Grant
My first thought would be prepend a char (perhaps a ~ or something) to the string that you later remove in order to preserve the zeros. On Mon, Dec 13, 2010 at 10:52 AM, fun and learning wrote: > > Hi All - > > I am using jquery jqgrid with Coldfusion. I have a cfc whose return format > is JSON.

coldfusion json truncates leading zeroes

2010-12-13 Thread fun and learning
Hi All - I am using jquery jqgrid with Coldfusion. I have a cfc whose return format is JSON. I have a database column of type varchar, but it returns values which starts with zeroes. On displaying data, the leading zeroes are truncated. I verified in firebug, the JSON response itself is cuttin