serializeJSON with "struct" is changing key case to upper

Description

Hi,

While updating the Lucee server from 5.2 to 5.3, I found an issue with serializeJSON function. In the latest version, it changed the key case to uppercase when passed "struct" as second arguments.

Version: 5.2.9.31 [maintain case]

[{"employeeId":1,"EMPLOYEENAME":"Bharat"},{"employeeId":2,"EMPLOYEENAME":"Naresh"}]

Version: 5.3.2.77 [change case to upper]

[{"EMPLOYEEID":1,"EMPLOYEENAME":"Bharat"},{"EMPLOYEEID":2,"EMPLOYEENAME":"Naresh"}]

Am I miss anything?

Thanks,
Bharat

Status

Assignee

Unassigned

Reporter

Bharat Patel

Labels

None

Priority

Critical
Configure