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