On Sunday, 18 August 2013 at 19:46:00 UTC, Jacob Carlborg wrote:
If versioning is crucial it can be added.

Can std.serialization load data if class definition was changed?

For example, we have class "Foo":

class Foo
{
    int a;
    int b;
}

and we serialize it in some file. After that class "Foo" was changed:

class Foo
{
    int b;
    int a;
}

Can std.serialization load data from old file to the new class?

Reply via email to