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
  • Overview of standard serialization classes in .NET

    C# SELF
    44 level,0 lecture
    A short and practical overview of the standard serialization tools in .NET 9: System.Text.Json, XmlSerializer and the popular library Newtonsoft.Json. We'll go over what to choose and when, show simple examples of serialization/deserialization, discuss nuances, compatibility and common mistakes. Everything with clear examples and recommendations.
    Open
  • Discussing BinaryFormatter

    C# SELF
    44 level,1 lecture
    Why BinaryFormatter was finally removed in .NET 9, why its deserialization is dangerous (RCE), how to find legacy usage and what to migrate to. We go over modern alternatives — System.Text.Json, XmlSerializer, CBOR/Protobuf/MessagePack — with examples, an "old vs new" comparison and a breakdown of common mistakes when working with XmlSerializer.
    Open
  • Working with XmlSerializer for XML serialization

    C# SELF
    44 level,2 lecture
    In this lecture we'll go over how to serialize and deserialize objects to XML using XmlSerializer, when it makes sense in real projects, how to write and read not just from files but also from strings, and how to control the XML format using attributes. Expect practical examples, explanations, and neat tricks for flexibly shaping the XML structure.
    Open
  • Serialization with System.Text.Json

    C# SELF
    44 level,3 lecture
    We break down the modern built-in .NET JSON serializer — System.Text.Json: basic serialization and deserialization, configuration via JsonSerializerOptions, naming policy ( camelCase vs PascalCase), attributes [JsonIgnore] and [JsonPropertyName], property matching nuances and common pitfalls. Optimized for .NET 9 and C# 14 — fast, safe, and no extra packages required.
    Open
  • Using Newtonsoft.Json

    C# SELF
    44 level,4 lecture
    In this lecture we'll go over how to work with JSON in .NET using Newtonsoft.Json: installing via NuGet, basic serialization/deserialization with JsonConvert ( SerializeObject, DeserializeObject), fine-tuning via JsonSerializerSettings and attributes ( JsonProperty, JsonIgnore, JsonConverter), working with dictionaries and complex relations, LINQ to JSON via JObject/ JArray, required/default fields and date formatting. We'll compare with System.Text.Json and discuss when it's worth choosing Json.NET.
    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