The libQtSerialization library is a Qt extension that makes it easy to serialize your data in a forward and backward compatible way. The library is composed of QWriter and QReader. The writer is straightforward - all you have to do is call a writeTag() function and the data is serialized. The reader is a little more complex as it supports special cases, such as sub-classes (so you can save a tree of classes) and arrays of classes (your tree may be composed of multiple instances of a given object).
cso is an easy to use C module that serializes objects into a simple binary format. It can be used to store data or to send it over a network. It supports either an object of type struct (CSO_DICT) or array (CSO_ARRAY) which contains elements of type integer of different sizes, double, binary, string, struct, or array.