Miles thank you for reporting this to us and also for attaching a sample CFML file that causes the problem. Its the wee things that really accelerate bug fixing.

I have made a fix for this and updated the nightly build. So go and grab it (you will just need the JAR Only (http://openbd.org/download/nightly/OpenBlueDragon.jar) and update the one on your system.

Miles Rausch wrote:
I recently upgraded my OpenBD Desktop to v 2.0.1 on my MacBook Pro, running OS X Snow Leopard (10.6.8). When I did this, code that had been working perfectly fine in v 2.0.

I've narrowed it down to Deserializejson(). Specifically, my code is reading in a text file that contains a JSON string, then it uses Deserializejson() to turn it into a ColdFusion object. The issue I'm running into is that it thinks the tab character makes my string Invalid JSON. This happens even when I use a string variable with tabs in it. Removing the tabs, the code runs as expected.

I've attached a CFM file that illustrates the problem I'm having.

--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to