bsimmons
01/19/2021, 3:50 PM@Serializable class on disk that persists between user sessions. Does anyone here have experience with making sure that new versions of this class are compatible with the old serialized strings? In the case of field name changes, must I keep both versions of the class and manually do the transformations myself whenever a new version of the app is pushed? Any thoughts or ideas are welcome.Nikky
01/20/2021, 12:49 AMJson to ignore unknown fields, for things that are not used at all anymore (and that do nto need to be transformed into other fields)Nikky
01/20/2021, 12:50 AMversion field, parse your file as a JsonObject and then run migration functions on it until it is on the latest version, then you can parse and roundtrip it back to diskbsimmons
01/20/2021, 12:43 PM