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

preview_player
Показать описание
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

Resources:

Connect with .NET:

#dotnet #systemtextjson #json
Рекомендации по теме
Комментарии
Автор

This is one of the most high-value series out there. It's short, but packed with extremely useful tips.

privatesocialhandle