queryGetRow() will always return a struct with all the keys in uppercase. It would be great if serialization.preserveCaseForQueryColumn is set to true in Application.cfc, then it will return a struct with key in the case used in the query that created the query object.
e.g.
{code:java}
<cfquery name="test">
select id, name
from test
</cfquery>
<cfset row = queryGetRow(test, 1)>
<cfset row['key'] = createUuid()>
<cfset rowJson = serializeJson(row)>
{code}
Attachments:
Comments: