Skip to main content

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel