I tested JSONUtil.cfc by Nathan Mische and CFJSON.cfc (http://www.epiphantastic.com/cfjson/). On a very large object (an array with 300 items, with nested structs 3 levels deep each with about 20-40 properties), the built in serializeJSON() functions were considerably faster, but I don'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 zeroes Which JSON libraries did you observe not performing well? -Mike Chabot On Tue, Dec 14, 2010 at 12:29 PM, Brook Davies <cft...@logiforms.com> wrote: > > 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 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 > <funandlrnn...@gmail.com>wrote: > > > > > 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 cutting off > > the leading zeroes. > > > > Any suggestions or thoughts on this? > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340059 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm