15 references to SerializerSettings
Microsoft.AspNetCore.Mvc.NewtonsoftJson (15)
DependencyInjection\MvcNewtonsoftJsonOptionsExtensions.cs (6)
30
if (options.
SerializerSettings
.ContractResolver is DefaultContractResolver resolver)
39
if (options.
SerializerSettings
.ContractResolver == null)
44
var contractResolverName = options.
SerializerSettings
.ContractResolver.GetType().Name;
65
if (options.
SerializerSettings
.ContractResolver is DefaultContractResolver resolver)
71
if (options.
SerializerSettings
.ContractResolver == null)
76
var contractResolverName = options.
SerializerSettings
.ContractResolver.GetType().Name;
DependencyInjection\NewtonsoftJsonMvcOptionsSetup.cs (3)
47
options.OutputFormatters.Add(new NewtonsoftJsonOutputFormatter(_jsonOptions.
SerializerSettings
, _charPool, options, _jsonOptions));
56
_jsonOptions.
SerializerSettings
,
65
_jsonOptions.
SerializerSettings
,
NewtonsoftJsonHelper.cs (1)
35
_defaultSettingsJsonSerializer = CreateHtmlSafeSerializer(options.Value.
SerializerSettings
);
NewtonsoftJsonInputFormatter.cs (1)
36
/// (<see cref="MvcNewtonsoftJsonOptions.
SerializerSettings
"/>) or an instance
NewtonsoftJsonOutputFormatter.cs (2)
31
/// (<see cref="MvcNewtonsoftJsonOptions.
SerializerSettings
"/>) or an instance
49
/// (<see cref="MvcNewtonsoftJsonOptions.
SerializerSettings
"/>) or an instance
NewtonsoftJsonPatchInputFormatter.cs (1)
25
/// (<see cref="MvcNewtonsoftJsonOptions.
SerializerSettings
"/>) or an instance
NewtonsoftJsonResultExecutor.cs (1)
150
return _jsonOptions.
SerializerSettings
;