Use Utf8JsonWriter.WriteRawValue instead of JsonSerializer.Serialize #46023
Labels
Azure.Core
Client
This issue points to a problem in the data-plane of the library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
System.ClientModel
Base Core library
In Azure.Core shared source file RequestContentHelper.cs and SCM-based model types, we multitarget and on platforms lower than net6.0, we call
JsonSerializer.Serialize
instead ofUtf8JsonWriter.WriteRawValue
.We should be able to call
Utf8JsonWriter.WriteRawValue
on all platforms.@m-nash, @jsquire, @KrzysztofCwalina FYI
The text was updated successfully, but these errors were encountered: