4 references to DefaultSerializerOptions
Microsoft.AspNetCore.Http.Extensions (4)
HttpRequestJsonExtensions.cs (1)
306
return httpContext.RequestServices?.GetService<IOptions<JsonOptions>>()?.Value?.SerializerOptions ?? JsonOptions.
DefaultSerializerOptions
;
HttpResponseJsonExtensions.cs (1)
345
return httpContext.RequestServices?.GetService<IOptions<JsonOptions>>()?.Value?.SerializerOptions ?? JsonOptions.
DefaultSerializerOptions
;
JsonOptions.cs (1)
34
public JsonSerializerOptions SerializerOptions { get; } = new JsonSerializerOptions(
DefaultSerializerOptions
);
RequestDelegateFactory.cs (1)
276
var jsonSerializerOptions = serviceProvider.GetService<IOptions<JsonOptions>>()?.Value.SerializerOptions ?? JsonOptions.
DefaultSerializerOptions
;