dotnet

Easily Deserializing JSON Web Requests with System.Net.Http.Json


Listen Later

Combining the power of System.Text.Json and extensions built into System.Net.Http.Json for HttpClient you can easily serialize and deserialize data with just a few lines of code. James and Matt show you how to do it!
Chapters:
00:00 - Intro
01:40 - Default Deserialization for JSON
03:10 - Simplifying web request deserialization - ReadFromJsonAsync
05:54 - Source Generators for JSON
07:45 - Wrap-up
Resources:
Code: https://github.com/dotnet-presentations/dotnet-maui-workshop
Docs: https://learn.microsoft.com/dotnet/fundamentals/networking/http/httpclient
Full Playlist: https://www.youtube.com/playlist?list=PLdo4fOcmZ0oVp5o3x_5IZiI7GNs0GklYH
Connect with .NET:
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 #systemtextjson #json
...more
View all episodesView all episodes
Download on the App Store

dotnetBy dotnet