Skip to content

Conversation

sflynn850
Copy link

The sample code was falling victim to the case-insensitivity of the SerializeJSON function (www.bennadel.com/blog/2162-maintaining-key-case-during-json-serialization-in-coldfusion.htm), and also wasn't quite generating UNIX timestamps accurately. I also indented the code for readability, which, on second thought, maybe should've happened in a separate commit.

This code is derived from code we have working in CF11.

Sean Flyn added 2 commits January 23, 2015 16:02
For more on SerializeJSON case-insensitivity, see www.bennadel.com/blog/2162-maintaining-key-case-during-json-serialization-in-coldfusion.htm.

Indented the code for readability.

Adjusted the timestamp code so that it generates the correct UNIX timestamp. It was incorrectly converting from UTC.
Fixed SerializeJSON bug & timestamp bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants