Episode

Working with Fields when reading & writing JSON with .NET

with James Montemagno, Matt Soucoup

Need to serialize and deserialize fields in your class with System.Text.Json? We have you covered with just a few additional settings.

Chapters

  • 00:00 - Intro
  • 00:40 - Default serialization for fields
  • 01:50 - Including fields with JsonSerializationOptions
  • 02:25 - Ignoring fields with JsonIgnore
  • 02:55 - Including individual fields
  • 04:10 - Wrap-up

Developer
.NET