[jQuery] jQuery parsing ColdFusion 8 JSON

[jQuery] jQuery parsing ColdFusion 8 JSON


don't know if anyone has encountered this before, but I'm using CF8
components to return JSON to my applications, but even when i specify
"dataType:'json'" on my ajax requests in JS, ColdFusion returns
something along the lines of the following:
-----------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C/DTD/HTML 4.0 Transitional//EN">
{"userclassid":1.0,"unique_session_id":"19714_38786260"}
----------------------------------------------------------------------------------------
and jQuery's json parser can't parse it because of the doctype string
on the response. i've written a stupid utility function that finds
the beginning of the string and parses the json using json2.js, but
it's obviously an extra step that i'd like to get rid of. has anyone
else encountered this issue and solved it?
--adam