10 references to NewtonsoftJsonOutputFormatter
BasicWebSite (1)
Controllers\ContentNegotiation\NormalController.cs (1)
28
_indentingFormatter = new
NewtonsoftJsonOutputFormatter
(_indentedSettings, charPool, new MvcOptions(), new MvcNewtonsoftJsonOptions());
FormatterWebSite (1)
Controllers\JsonFormatterController.cs (1)
27
_indentingFormatter = new
NewtonsoftJsonOutputFormatter
(_indentedSettings, charPool, new MvcOptions(), new MvcNewtonsoftJsonOptions());
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
DependencyInjection\NewtonsoftJsonMvcOptionsSetup.cs (1)
47
options.OutputFormatters.Add(new
NewtonsoftJsonOutputFormatter
(_jsonOptions.SerializerSettings, _charPool, options, _jsonOptions));
NewtonsoftJsonOutputFormatter.cs (1)
40
MvcOptions mvcOptions) :
this
(serializerSettings, charPool, mvcOptions, jsonOptions: null)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (6)
NewtonsoftJsonOutputFormatterTest.cs (6)
22
return new
NewtonsoftJsonOutputFormatter
(new JsonSerializerSettings(), ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
106
var jsonFormatter = new
NewtonsoftJsonOutputFormatter
(settings, ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions()
133
var jsonFormatter = new
NewtonsoftJsonOutputFormatter
(settings, ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
351
var formatter = new
NewtonsoftJsonOutputFormatter
(new JsonSerializerSettings(), ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
382
var formatter = new
NewtonsoftJsonOutputFormatter
(new JsonSerializerSettings(), ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
555
:
base
(serializerSettings, ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions())