JSON handling made easy with System.Net.Http.Json

added by DotNetKicks
5/21/2020 3:29:51 PM

268 Views

Nowadays, we all have to deal with JSON, the de facto standard for data interchange in HTTP communications. In the rest of the article, we'll use JSONPlaceholder, a fake Online REST API Server. Suppose we have the following class and initialization for HttpClient and JsonSerializer: If we want to get all the posts, we usually...


0 comments