Table of Contents

GetDefaultEncoding Method

Definition

Namespace
Codebelt.Extensions.Carter.AspNetCore.Newtonsoft.Json
Assemblies
Codebelt.Extensions.Carter.AspNetCore.Newtonsoft.Json.dll
Source
src/Codebelt.Extensions.Carter.AspNetCore.Newtonsoft.Json/NewtonsoftJsonNegotiator.cs

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.