In this lecture we go over how to keep backward compatibility of serialized data while models evolve: adding, removing and renaming properties, changing types and modifying hierarchies. We'll compare behavior of
System.Text.Json and
Newtonsoft.Json, cover practices: schema versioning (
Version), name-mapping attributes,
nullable and default values, handling unknown fields, migrations, and the impact of
required properties. All with examples and common pitfalls.