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