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

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

Connect with .NET:

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

I'm not sure I clearly see or heard the "WHY" this is better? The original code you had seemed so much cleaner, although you didn't have all the error handling, etc.

kennedystephen
Автор

Was it intentional to create bars on the top and the bottom that allow the youtube player controls to fit perfectly?

SixOThree
Автор

Around 2:26, what is the model/popup that has the orange bar at the top, with the Sasquatch looking guy in the middle of it?

kennedystephen
Автор

You guys have been producing quite a few JSON videos, but… I can’t deserialize neither JSON or XML on linux machines which is a LARGE, HUGE problem. When Microsoft fixes this glaring bug, then these videos will have merit.

stephenmiller
join shbcf.ru