
Hi, Is it possible to modify the boost xml serializer to parse serialized objects from C#? The only difference I can see is that C# does not include a <count> element in arrays. I don't quite understand why the <count> element is required in boost especially for serializing stl::list and stl::vector.

the xml serializer used by boost serialization is implemented with spirit and is part of the xml_iarchive class. One can use the library to create variations on existing archives. On the other hand - it is generally not successful to attempt to use boost serialization to match some external format as boost serialization is driven by the C++ code which defines the data structures and there is no way go guarentee that this is the same as some external format. In some special cases this might be done. Michael A. Eriksen wrote:
Hi, Is it possible to modify the boost xml serializer to parse serialized objects from C#? The only difference I can see is that C# does not include a <count> element in arrays. I don't quite understand why the <count> element is required in boost especially for serializing stl::list and stl::vector.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Michael A. Eriksen
-
Robert Ramey