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