Skip to content

Commit

Permalink
chore: init encoding with false for utf8 bom
Browse files Browse the repository at this point in the history
  • Loading branch information
daveleek committed Dec 8, 2023
1 parent 50d1cf0 commit 29586c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ internal class DynamicNewtonsoftJsonSerializer : IDynamicJsonSerializer
{
public string NugetPackageName => "Newtonsoft.Json (>= 9.0.1)";

private readonly Encoding encoding = Encoding.UTF8;
private readonly Encoding encoding = new UTF8Encoding(false);

private Type jsonTextWriterType;
private Type jsonTextReaderType;
Expand Down

0 comments on commit 29586c1

Please sign in to comment.