Consider adding `IBufferWriter<byte>` overloads to `JsonSerializer`

Open
#112,943 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
backend

Research direction

Start by reading the JsonSerializer API surface and the discussion linked from ASP.NET Core pull request #60616. Clarify the intended IBufferWriter overloads and the cited use case; done means the API direction and scope are agreed before implementation begins.

Written by the indexing model from the issue text.

Description

api-suggestion area-System.Text.Json partner-impact

Would exposing JsonSerializer.Serialize accepting IBufferWriter<byte> overloads help in this case?

Originally posted by @eiriktsarpalis in https://github.com/dotnet/aspnetcore/pull/60616#discussion_r1971154993

Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.