tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code04:06

Handling Missing Members when Reading .NET Objects

dotnet ↗

From the creator

By default, if the JSON payload you're deserializing contains properties that don't exist in the deserialized plain old CLR object (POCO) type, they're simply ignored. Starting in .NET 8, you can specify that all members must be present in the payload. James and Matt show you how! Docs: https://learn.microsoft.com/dotnet/standard/serialization/system-text-json/missing-members 00:00 - Intro 00:55 - Default Implementation Demo 01:40 - Requiring Unmapped Members 03:20 - Wrap-up Blog: https://aka.ms/dotnet/blog Twitter: https://aka.ms/dotnet/twitter TikTok: https://aka.ms/dotnet/tiktok Mastodon: https://aka.ms/dotnet/mastodon LinkedIn: https://aka.ms/dotnet/linkedin Facebook: https://aka.ms/dotnet/facebook Docs: https://learn.microsoft.com/dotnet Forums: https://aka.ms/dotnet/forums 🙋‍♀️Q&A: https://aka.ms/dotnet-qa 👨‍🎓Microsoft Learn: https://aka.ms/learndotnet #dotnet #json #systemtextjson

Published 2024-01-08 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code