Quote from CF11 documentation: "Note that "struct" is also available to be accessible through an AJAX argument. Now you can pass struct in an AJAX URL to serialize a query object as struct."
How? An example URL would be handy.
"To serialize a query object as struct" overstates the case. You can serialize a struct, as well as a query, for sending by means of URL.
For example, create the following 2 CFM pages in the same directory.
<cfset myStruct = structnew()>
<cfset myStruct.myFirstKey = "uno">
<cfset myStruct.mySecondKey = 2>
<cfset myStructSerialized = serializeJSON(myStruct)>
<!--- Uses built-in cfdocexamples datasource --->
<cfquery name = "getBiololgyCourses" dataSource = "cfdocexamples">
SELECT Course_ID, Dept_ID, CorNumber,
WHERE Dept_ID = 'BIOL'
ORDER by CorNumber asc
<cfset biologyCoursesSerialized = serializeJSON(getBiololgyCourses)>