jquery - Coldfusion 9 JSON parsing error -


I have a function that essentially does this

  & lt; Cffunction name = "foo" Access = "remote" returnformat = "JSON" & gt; & Lt; Cfreturn ["000", "001", "002"] & gt; & Lt; Cffunction & gt; I'm retrieving this array by using  jQuery.ajax , in the firebug I get the  [000, "001", "002" ]  watching.  

See how zero their quotations are missing. This is causing a jQuery error through a parsing error, SyntaxError: JSON.parse: expected ',' or ']' after the array element , or what I'm assuming Can anyone also explain why coldfusion is not putting quotation around zero, and there is a way to fix it? This is a cool 9 bug that was recorded in Adobe Coldfusion (bug ID 83638)

To resolve this problem, you can upgrade your coldfusion to ColdFusion 9.0.1. You just need to set the hot fix.

To decide on heating, go to the following URL.



Comments