20 references to new
Aspire.Hosting.DevTunnels (1)
DevTunnelCliClient.cs (1)
15private readonly JsonSerializerOptions _jsonOptions = new(JsonSerializerDefaults.Web) { Converters = { new JsonStringEnumConverter() } };
dotnet-watch (2)
AbstractBrowserRefreshServer.cs (1)
35private static readonly JsonSerializerOptions s_jsonSerializerOptions = new(JsonSerializerDefaults.Web);
Process\LaunchSettingsProfile.cs (1)
16private static readonly JsonSerializerOptions s_serializerOptions = new(JsonSerializerDefaults.Web)
Microsoft.AspNetCore.Http.Extensions (1)
JsonOptions.cs (1)
16internal static readonly JsonSerializerOptions DefaultSerializerOptions = new JsonSerializerOptions(JsonSerializerDefaults.Web)
Microsoft.AspNetCore.Identity (1)
IdentityJsonSerializerContext.g.cs (1)
14private readonly static global::System.Text.Json.JsonSerializerOptions s_defaultOptions = new(global::System.Text.Json.JsonSerializerDefaults.Web)
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (4)
Internal\DictionaryAdapterTest.cs (1)
242var serializerOptions = new JsonSerializerOptions(JsonSerializerDefaults.Web) { PropertyNameCaseInsensitive = true };
JsonPatchDocumentTest.cs (3)
193var options = new JsonSerializerOptions(JsonSerializerDefaults.Web); 213var options = new JsonSerializerOptions(JsonSerializerDefaults.Web); 239var compatibleSerializerOption = new JsonSerializerOptions(JsonSerializerDefaults.Web);
Microsoft.AspNetCore.Mvc.Core (1)
JsonOptions.cs (1)
35public JsonSerializerOptions JsonSerializerOptions { get; } = new JsonSerializerOptions(JsonSerializerDefaults.Web)
Microsoft.AspNetCore.Watch.BrowserRefresh.Tests (2)
BlazorWasmHotReloadMiddlewareTest.cs (2)
231JsonSerializer.SerializeToUtf8Bytes(updates, new JsonSerializerOptions(JsonSerializerDefaults.Web)), 259var bytes = JsonSerializer.SerializeToUtf8Bytes(obj, new JsonSerializerOptions(JsonSerializerDefaults.Web));
Microsoft.DotNet.HotReload.Client.Package (1)
Web\AbstractBrowserRefreshServer.cs (1)
35private static readonly JsonSerializerOptions s_jsonSerializerOptions = new(JsonSerializerDefaults.Web);
Microsoft.DotNet.HotReload.Client.Tests (1)
AbstractBrowserRefreshServer.cs (1)
35private static readonly JsonSerializerOptions s_jsonSerializerOptions = new(JsonSerializerDefaults.Web);
Microsoft.DotNet.HotReload.WebAssembly.Browser (1)
WebAssemblyHotReload.cs (1)
60private static readonly JsonSerializerOptions s_jsonSerializerOptions = new(JsonSerializerDefaults.Web);
Microsoft.Extensions.AI.Integration.Tests (1)
PromptBasedFunctionCallingChatClient.cs (1)
36private static readonly JsonSerializerOptions _jsonOptions = new(JsonSerializerDefaults.Web)
Microsoft.Extensions.DotNetDeltaApplier.Tests (1)
AbstractBrowserRefreshServer.cs (1)
35private static readonly JsonSerializerOptions s_jsonSerializerOptions = 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)
1172var options = new JsonSerializerOptions(defaults)
Wasm.Performance.TestApp (1)
Pages_Json_razor.g.cs (1)
272PersonJsonContext personJsonContext = new(new(JsonSerializerDefaults.Web));