In this lecture we go through how to serialize and deserialize multi-level structures in C# using
System.Text.Json: trees, graphs with potential cycles, nested collections and attributes. We'll discuss
JsonSerializer, the
ReferenceHandler.
IgnoreCycles option, the
JsonIgnore attribute, storing references via identifiers and practical patterns for real apps (catalogs, employees, authors/books).