GetDefaultEncoding Method
Definition
- Namespace
- Codebelt.Extensions.Carter.AspNetCore.Newtonsoft.Json
- Assemblies
- Codebelt.Extensions.Carter.AspNetCore.Newtonsoft.Json.dll
GetDefaultEncoding()
Returns UTF-8 without a byte-order mark (BOM) as the default character encoding for this negotiator.
protected override Encoding GetDefaultEncoding()
Returns
- Encoding
A UTF8Encoding instance with the byte-order mark disabled.