ColdFusion 11 offers a new feature to preserve the case of struct keys during JSON serialization. Trouble is it does not work for me (OSX 10.9.4).
The documentation mentions 2 ways to get this working (although it is supposed to be on by default).
- In application.cfc, set this.serialization.preservecaseforstructkey = true
- In the ColdFusion administrator settings page, check 'Preserve case for Struct keys for Serialization'
Neither of these work. Stopping and Starting ColdFusion does not help.
No matter what, I always get the keys converted to UPPERCASE, just like in CF10 and earlier.
This would be a great feature to have working. Is it a bug? Has anyone else got it working?
Andrew Culver