mengu on web programming.

Serialization With Ruby

I have needed this for my application and in case someone needs serialization with Ruby, here is how to do it. All you need is the class named *[Marshal](http://ruby-doc.org/core/classes/Marshal.html)*. In order to serialize an object: serializedData = Marshal.dump(object) In order to unserialize an object: Marshal.load(serializedData) That's all.
Check my latest project compector.com where you can post references about your former employers and see what others have said about the future employers. Sign up now and post a reference and share it on twitter or facebook.

Comments

No comments made for this post.

Leave a Response

No HTML allowed. You can use markdown.
Name*:
E-Mail* (not published):
Web site:
Response: