Table of Contents

GetFormatter 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

GetFormatter()

Returns a new NewtonsoftJsonFormatter configured with the current NewtonsoftJsonFormatterOptions.

public override StreamFormatter<NewtonsoftJsonFormatterOptions> GetFormatter()

Returns

StreamFormatter<NewtonsoftJsonFormatterOptions>

A NewtonsoftJsonFormatter instance configured with the current NewtonsoftJsonFormatterOptions.