is there any way to return a real JSON object through a function in ColdFusion? My current solution is to turn a query into a string and in another CF-file I'm converting it back to a JSON object:
<cffunction name="addLicense" access="remote" returntype="string" returnFormat="JSON" httpmethod="POST">
<cfquery datasource="hostmanager" name="createCustomer">
SELECT * FROM license
</cfquery>
<cfreturn serializeJSON(createCustomer)>
</cffunction>
