Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2012 (Minneapolis, MN) with: Ryan Anklam
Ben Nadel at cf.Objective() 2012 (Minneapolis, MN) with: Ryan Anklam@bittersweetryan )

James H

Member since Jun 10, 2015

Recent Blog Comments By James H

  • Added Manual String Serialization To JsonSerializer.cfc ColdFusion Project

    Posted on Jun 11, 2015 at 12:56 PM

    @Ben, That's a good point. UTC millis are much easier for javascript consumption - I'm using java.text.SimpleDateFormat, which I just discovered doesn't have an option for UTC/epoch millis. But String.format could be used instead - that would provide a lot more flexibility, although the syntax isn't... read more »

  • Added Manual String Serialization To JsonSerializer.cfc ColdFusion Project

    Posted on Jun 10, 2015 at 12:24 PM

    That's good stuff! Have you looked at Jackson ( https://github.com/FasterXML/jackson )? I used it to implement a similar thing in Java (then wrapped in a CFC) that serializes to json and xml for our REST APIs. I added options for key casing, adding records counts to result sets, date formatters for... read more »