Serializing objects

BlitzMax Forums/BlitzMax Programming/Serializing objects

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've just moved over to BlitzMax from XNA, and while I'm generally finding things nice here, one thing I took for granted with XNA and .NET was its capability to automatically serialize your objects (file i/o). It was nice being able to literally plug in an array of objects--as in, of a user-defined type--and have it automatically spit out a file containing all of their data.

With the way BlitzMax OOP works, I can't really think of how I could do this myself (in a generic, one function for all object types kind of way), but admittedly I'm not that great of a programmer. So I was wondering if anyone else has come up with a way of doing this, or just a module that does it.

Thanks!