<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />

StringEscapeHandling

public enum StringEscapeHandling
Specifies how strings are escaped when writing JSON text.
namespace Newtonsoft.Json { public enum StringEscapeHandling { Default, EscapeNonAscii, EscapeHtml } }