Skip to content

Add System.Net.Http.JsonContent for System.Net.Http.HttpClient #1754

@GitAntoinee

Description

@GitAntoinee

Recently, the namespace System.Text.Json is added, it serialize / deserialize json.
I am working a lot with json and System.Net.Http.HttpClient. And I am bored to always have to do è new StringContent(JsonSerializer.Serialize(content)).
A new class System.Net.Http.JsonContent who extend System.Net.Http.HttpContent or System.Net.Http.StringContent is a good idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions