> But if the serializer also support non-intrusive mode, I don't need to modify > my huge library. I just need to serialize it and done.
But you need to ensure it's actually serializable anyway (for example, doesn't have a field of type Socket/File/stream/callbacks) so you gain very little. In fact, I can hardly imagine a huge library with tons of objects that happens to be serializable out of the box.