Episode

Enabling case-insensitive when reading objects with System.Text.Json

with James Montemagno, Matt Soucoup

In this video, James and Matt show you how to enable case-insensitive property name matching with the System.Text.Json namespace.

Chapters

  • 00:00 - Intro to Case Sensitive JSON
  • 01:35 - Default behavior for casing in System.Text.Json
  • 03:10 - Required for exceptions
  • 03:25 - Adding JsonPropertName to handle casing
  • 04:00 - JsonSerializationOptions for Case-insensitivity property names
  • 05:50 - Wrap-up

Developer