Home

Post

Feeds

RSS

Mar 12Announcing Serializer CFC

I recently had a situation where I needed functionality to serialize and de-serialize a ColdFusion complex variable. Recalling that CF8 now lets us serialize CFCs using java.io.ObjectOutputStream, I figured it would probably let me serialize other CF data types as well (Array, Struct, etc). It did. Serialization was only the first part of the process, next I needed a way to de-serialize the data back into ColdFusion data types. The process is fairly straightforward, and is, essentially, a reverse of the serialization process. I've decided to release the Serializer.cfc on my google code site. You can find the download link below, or you can access it via SVN. Find The Code Here

Posted by: Andrew Powell

Categories: Java , ColdFusion , General , Google , Adobe , Universal Mind

Comments

Hey, I notice your CFC serializes a bit different from other methods I've seen, but still seems to choke when deserialization takes place if there's an array involved. Have you found and workaround/fixes?<br /><br />Thank you

Write your comment



(it will not be displayed)







About Andrew Powell

More ...

Powered by Mango Blog: a ColdFusion blog engine