43 references to Json
aspire (43)
Commands\ApiGetCommand.cs (1)
62
if (format is OutputFormat.
Json
)
Commands\ApiListCommand.cs (1)
65
if (format is OutputFormat.
Json
)
Commands\ApiSearchCommand.cs (1)
79
if (format is OutputFormat.
Json
)
Commands\AppHostLauncher.cs (2)
149
var multipleAppHostBehavior = format == OutputFormat.
Json
|| !hostEnvironment.SupportsInteractiveInput
925
if (format == OutputFormat.
Json
)
Commands\BaseCommand.cs (2)
261
/// Checks whether this command has a --format option whose parsed value is <see cref="OutputFormat.
Json
"/>.
269
return parseResult.GetValue(formatOption) == OutputFormat.
Json
;
Commands\DescribeCommand.cs (2)
217
if (format == OutputFormat.
Json
)
256
if (format == OutputFormat.
Json
)
Commands\DocsGetCommand.cs (1)
71
if (format is OutputFormat.
Json
)
Commands\DocsListCommand.cs (1)
59
if (format is OutputFormat.
Json
)
Commands\DocsSearchCommand.cs (1)
74
if (format is OutputFormat.
Json
)
Commands\DoctorCommand.cs (2)
67
if (format == OutputFormat.
Json
)
86
if (format == OutputFormat.
Json
)
Commands\IntegrationSearchCommand.cs (2)
125
if (hiddenIntegrationCount > 0 && packagesWithShortName.Length > 0 && format is not OutputFormat.
Json
)
170
if (format is OutputFormat.
Json
)
Commands\LogsCommand.cs (2)
261
if (format == OutputFormat.
Json
)
449
if (format == OutputFormat.
Json
)
Commands\LsCommand.cs (4)
64
if (result.GetValue(s_streamOption) && result.GetValue(s_formatOption) != OutputFormat.
Json
)
89
var useJsonStream = format == OutputFormat.
Json
&& stream;
113
if (format == OutputFormat.
Json
&& !useJsonStream)
136
if (format != OutputFormat.
Json
|| !stream)
Commands\McpToolsCommand.cs (1)
67
if (format == OutputFormat.
Json
)
Commands\PipelineCommandBase.cs (4)
146
outputFormat is OutputFormat.
Json
);
212
if (!listSteps || outputFormat is not OutputFormat.
Json
)
343
if (outputFormat is OutputFormat.
Json
)
537
format = OutputFormat.
Json
;
Commands\PsCommand.cs (4)
125
var connections = format == OutputFormat.
Json
133
if (format == OutputFormat.
Json
)
153
if (format == OutputFormat.
Json
)
180
if (format != OutputFormat.
Json
)
Commands\RunCommand.cs (1)
184
if (format == OutputFormat.
Json
&& !detach)
Commands\SecretListCommand.cs (1)
51
if (format == OutputFormat.
Json
)
Commands\StartCommand.cs (1)
75
&& format != OutputFormat.
Json
Commands\TelemetryLogsCommand.cs (2)
173
if (format == OutputFormat.
Json
)
198
if (format == OutputFormat.
Json
)
Commands\TelemetrySpansCommand.cs (2)
165
if (format == OutputFormat.
Json
)
190
if (format == OutputFormat.
Json
)
Commands\TelemetryTracesCommand.cs (2)
149
if (format == OutputFormat.
Json
)
211
if (format == OutputFormat.
Json
)
Commands\TerminalPsCommand.cs (3)
102
if (format == OutputFormat.
Json
)
129
if (format == OutputFormat.
Json
)
146
if (format == OutputFormat.
Json
)