Convert serialized objects to a newer package version

I have a file with serialized structs that were slightly changed between package versions: type parameter change & field rename. So, they can only be deserialized using the old package version.

After deserializing, I’d like to convert them to the new-version structs and serialize again. But how to do this? The conversion would be straightforward if only I could somehow load both the old and new package versions at the same time…

1 Like

What library did you use to write your file?

The built-in Serialization library.