15 references to new
Aspire.Hosting.Azure (1)
AcrLoginService.cs (1)
23
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web)
Aspire.Hosting.DevTunnels (1)
DevTunnelCliClient.cs (1)
15
private readonly JsonSerializerOptions _jsonOptions =
new
(JsonSerializerDefaults.Web) { Converters = { new JsonStringEnumConverter() } };
dotnet (1)
Telemetry\TelemetryDiskLogger.cs (1)
46
s_jsonOptions =
new
(JsonSerializerDefaults.Web) { WriteIndented = false };
Infrastructure.Tests (1)
WorkflowScripts\AutoRerunTransientCiFailuresTests.cs (1)
16
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
Microsoft.AspNetCore.Components.Endpoints (1)
SessionCascadingValueSupplier.cs (1)
19
private static readonly JsonSerializerOptions _jsonOptions =
new
(JsonSerializerDefaults.Web);
Microsoft.AspNetCore.Http.Extensions (1)
JsonOptions.cs (1)
16
internal static readonly JsonSerializerOptions DefaultSerializerOptions = new
JsonSerializerOptions
(JsonSerializerDefaults.Web)
Microsoft.AspNetCore.Identity (1)
_generated\50\IdentityJsonSerializerContext.g.cs (1)
14
private readonly static global::System.Text.Json.JsonSerializerOptions s_defaultOptions =
new
(global::System.Text.Json.JsonSerializerDefaults.Web)
Microsoft.AspNetCore.Mvc.Core (1)
JsonOptions.cs (1)
35
public JsonSerializerOptions JsonSerializerOptions { get; } = new
JsonSerializerOptions
(JsonSerializerDefaults.Web)
Microsoft.DotNet.HotReload.Watch (2)
Process\LaunchSettingsProfile.cs (1)
13
private static readonly JsonSerializerOptions s_serializerOptions =
new
(JsonSerializerDefaults.Web)
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\AbstractBrowserRefreshServer.cs (1)
29
private static readonly JsonSerializerOptions s_jsonSerializerOptions =
new
(JsonSerializerDefaults.Web);
Microsoft.DotNet.HotReload.WebAssembly.Browser (2)
WebAssemblyHotReload.cs (2)
58
private static readonly JsonSerializerOptions s_jsonSerializerOptions =
new
(JsonSerializerDefaults.Web);
149
private static readonly WebAssemblyHotReloadJsonSerializerContext jsonContext = new(
new
(JsonSerializerDefaults.Web));
Microsoft.Extensions.AI.Integration.Tests (1)
PromptBasedFunctionCallingChatClient.cs (1)
36
private static readonly JsonSerializerOptions _jsonOptions =
new
(JsonSerializerDefaults.Web)
SignalRServerlessWeb (1)
Program.cs (1)
35
var jsonSerializerOptions = new
JsonSerializerOptions
(JsonSerializerDefaults.Web)
System.Text.Json (1)
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
1203
var options = new
JsonSerializerOptions
(defaults)