JavaRush
AI Academy
new
Promotion
Learning
Courses
Tasks
Quizzes
Games
Help
Schedule of nudges
Internship
Community
Users
Forum
Chat
Articles
Activities
Reviews
Subscriptions
Light theme

Lectures

  • Reviews
  • About us
  • CS50
Start
Start learning
Start learning
  • My progress
  • Courses
  • Quest map
  • Lectures
  • Basic examples of serialization

    C# SELF
    45 level,0 lecture
    In this lecture you'll get hands-on with serialization and deserialization of objects in C# using JsonSerializer from System.Text.Json and the XmlSerializer class, learn to work with both strings and files/streams, serialize collections and avoid common mistakes. All — with short and clear examples.
    Open
  • Working with nested objects and collections

    C# SELF
    45 level,1 lecture
    In this lecture we'll break down serialization of complex models with nested objects and collections in .NET: how System.Text.Json does it, how Newtonsoft.Json helps, and what quirks XmlSerializer has. We'll talk about lists, arrays, dictionaries, nested collections, and common mistakes and ways to avoid them — all with clear examples.
    Open
  • Control over the process via attributes

    C# SELF
    45 level,2 lecture
    How to control serialization in .NET 9 and C# 14 using attributes: rename fields and properties, hide sensitive data, manage null values and ordering, and plug in custom converters. We'll compare System.Text.Json, Newtonsoft.Json and XmlSerializer, and look at nuances and pitfalls in practice.
    Open
  • Configuring serialization ( JsonSerializerOptions)

    C# SELF
    45 level,3 lecture
    How to finely tune System.Text.Json: set indentation, property name style ( camelCase), skip null, plug in date converters, control casing, depth, comments and character escaping. We'll go through key parameters of JsonSerializerOptions, practical examples and common mistakes.
    Open
  • Compatibility when changing class structure

    C# SELF
    45 level,4 lecture
    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.
    Open
Courses
  • Java Course
  • Python Course
  • Development with Claude Code
  • All 16 courses
University
  • Java FullStack
  • Python FullStack
  • AI Native Developer
  • Web FullStack
Community
  • Articles
  • Forum
  • Help with Tasks
Company
  • About us
  • Contacts
  • Reviews
  • Pricing
  • Questions and answers
JavaRush JavaRush: online courses in Java and other programming languages, where you learn by solving tasks. We started in 2012 with a Java course, and today there are 16 courses: Java and Spring, Python, web development, SQL, Go, C#, C++, Kotlin, Swift, Docker and AI development. More than 10,000 tasks with instant checks, and the first level of any course is free. Learn on your own or with a mentor at JavaRush University.
Follow us
Язык интерфейса
Русский
English
Українська
"Programmers are not born" © 2026 JavaRush Terms of Use and Privacy policy
MastercardVisa
"Programmers are not born" © 2026 JavaRush Terms of Use and Privacy policy