46 references to JsonSerializerOptions
Aspire.Hosting.Azure (1)
AcrLoginService.cs (1)
29
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web)
Aspire.Hosting.Azure.Sandboxes (1)
Internal\Adc\AzureDevComputeClient.cs (1)
53
private static readonly JsonSerializerOptions s_jsonSerializerOptions =
new
(JsonSerializerDefaults.Web)
Aspire.Hosting.Browsers (3)
BrowserEndpointDiscovery.cs (1)
37
private static readonly BrowserEndpointJsonContext s_jsonContext = new(new
JsonSerializerOptions
(JsonSerializerDefaults.Web)
BrowserLogsBuilderExtensions.cs (1)
45
private static readonly JsonSerializerOptions s_commandResultJsonOptions =
new
(JsonSerializerDefaults.Web)
BrowserLogsSessionManager.cs (1)
20
private static readonly JsonSerializerOptions s_browserSessionPropertyJsonOptions =
new
(JsonSerializerDefaults.Web);
Aspire.Hosting.Browsers.Tests (4)
BrowserLogsBuilderExtensionsTests.cs (1)
1981
private static JsonSerializerOptions BrowserSessionPropertyJsonOptions { get; } =
new
(JsonSerializerDefaults.Web);
src\Aspire.Hosting.Browsers\BrowserEndpointDiscovery.cs (1)
37
private static readonly BrowserEndpointJsonContext s_jsonContext = new(new
JsonSerializerOptions
(JsonSerializerDefaults.Web)
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (1)
45
private static readonly JsonSerializerOptions s_commandResultJsonOptions =
new
(JsonSerializerDefaults.Web)
src\Aspire.Hosting.Browsers\BrowserLogsSessionManager.cs (1)
20
private static readonly JsonSerializerOptions s_browserSessionPropertyJsonOptions =
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 };
dotnet-aot (1)
src\sdk\src\Cli\dotnet\Telemetry\TelemetryDiskLogger.cs (1)
46
s_jsonOptions =
new
(JsonSerializerDefaults.Web) { WriteIndented = false };
Infrastructure.Tests (20)
CreateFailingTestIssue\CreateFailingTestIssueToolTests.cs (1)
991
private static JsonSerializerOptions JsonOptions { get; } =
new
(JsonSerializerDefaults.Web);
GenerateTestSummary\GenerateTestSummaryToolTests.cs (7)
66
new
JsonSerializerOptions
(JsonSerializerDefaults.Web));
93
new
JsonSerializerOptions
(JsonSerializerDefaults.Web));
116
new
JsonSerializerOptions
(JsonSerializerDefaults.Web));
143
new
JsonSerializerOptions
(JsonSerializerDefaults.Web));
173
new
JsonSerializerOptions
(JsonSerializerDefaults.Web));
200
new
JsonSerializerOptions
(JsonSerializerDefaults.Web));
231
new
JsonSerializerOptions
(JsonSerializerDefaults.Web));
WorkflowScripts\AutoRerunTransientCiFailuresTests.cs (1)
16
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\CreateFailingTestIssueWorkflowTests.cs (1)
15
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\MonitorScheduledWorkflowsIntegrationTests.cs (1)
19
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\MonitorScheduledWorkflowsTests.cs (1)
16
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\ReportCiFailureIntegrationTests.cs (1)
19
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\ReportCiFailureTests.cs (1)
17
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\ReportPipelineFailureIntegrationTests.cs (1)
19
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\ReportPipelineFailureTests.cs (1)
16
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\ReportSpecializedTestFailuresTests.cs (1)
16
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\SelectTestsCommentScriptTests.cs (1)
22
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\SpecializedTestFailureRunnerTests.cs (1)
19
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
WorkflowScripts\TrackingIssueTests.cs (1)
18
private static readonly JsonSerializerOptions s_jsonOptions =
new
(JsonSerializerDefaults.Web);
Microsoft.AspNetCore.Components.Endpoints (1)
Serialization\JsonStoredDataSerializer.cs (1)
12
private static readonly JsonSerializerOptions _options =
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\56\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)
31
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.Abstractions (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.g.cs (1)
16
private readonly static global::System.Text.Json.JsonSerializerOptions s_defaultOptions =
new
(global::System.Text.Json.JsonSerializerDefaults.Web)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContextNoIndentation.g.cs (1)
16
private readonly static global::System.Text.Json.JsonSerializerOptions s_defaultOptions =
new
(global::System.Text.Json.JsonSerializerDefaults.Web)
Microsoft.Extensions.AI.Integration.Tests (1)
PromptBasedFunctionCallingChatClient.cs (1)
36
private static readonly JsonSerializerOptions _jsonOptions =
new
(JsonSerializerDefaults.Web)
Microsoft.Extensions.AI.OpenAI (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OpenAIJsonContext.g.cs (1)
14
private readonly static global::System.Text.Json.JsonSerializerOptions s_defaultOptions =
new
(global::System.Text.Json.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)
1229
var options = new
JsonSerializerOptions
(defaults)