I have been trying to serialize a pretty big object. This object uses dictionaries in order to keep track of various data. I am using the binary formatter, and want to b开发者_如何转开发e able to easily serialize the whole object whithout interfering/having to change code in the below layers.
Is there any way fix to this? I don't want to serialize the dictionaries manually (as I've seen others do to solve this issue).
The one who solves this get the golden plate ;)
As stated by Anton, the binary serializer is capable of serializing all objects in your object graph, as long as each object in the graph is serializable. If you're having trouble diagnosing which objects in your object graph aren't serializable, you can use sertool to find this out:
精彩评论