13 writes to Indented
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
207
using var writer = new Utf8JsonWriter(stream, new JsonWriterOptions {
Indented
= true });
Aspire.Hosting (1)
Publishing\ManifestPublisher.cs (1)
53
using var jsonWriter = JsonWriter ?? new Utf8JsonWriter(stream, new JsonWriterOptions {
Indented
= true });
Aspire.Hosting.Azure.EventHubs (2)
AzureEventHubsExtensions.cs (2)
305
using var writer = new Utf8JsonWriter(writeStream, new JsonWriterOptions {
Indented
= true });
413
using var writer = new Utf8JsonWriter(stream, new JsonWriterOptions {
Indented
= true });
Aspire.Hosting.Azure.ServiceBus (2)
AzureServiceBusExtensions.cs (2)
443
using var writer = new Utf8JsonWriter(writeStream, new JsonWriterOptions {
Indented
= true });
528
using var writer = new Utf8JsonWriter(stream, new JsonWriterOptions {
Indented
= true });
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
524
using var writer = new Utf8JsonWriter(stream, new JsonWriterOptions {
Indented
= true });
Aspire.Hosting.Tests (1)
Helpers\JsonDocumentManifestPublisher.cs (1)
21
using var writer = new Utf8JsonWriter(stream, new() {
Indented
= true });
HttpLogging.Sample (1)
Program.cs (1)
25
Indented
= true
Microsoft.Extensions.DependencyModel (1)
DependencyContextWriter.cs (1)
25
var options = new JsonWriterOptions {
Indented
= true, Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping };
SignalRSamples (1)
Startup.cs (1)
13
private readonly JsonWriterOptions _jsonWriterOptions = new JsonWriterOptions {
Indented
= true };
System.Text.Json (2)
System\Text\Json\Nodes\JsonNode.To.cs (1)
58
Utf8JsonWriter writer = Utf8JsonWriterCache.RentWriterAndBuffer(new JsonWriterOptions {
Indented
= true }, JsonSerializerOptions.BufferSizeDefault, out PooledByteBufferWriter output);
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
1052
Indented
= WriteIndented,
59 references to Indented
System.Text.Json (59)
System\Text\Json\Writer\JsonWriterOptions.cs (3)
49
/// Defines the indentation character used by <see cref="Utf8JsonWriter"/> when <see cref="
Indented
"/> is enabled. Defaults to the space character.
67
/// Defines the indentation size used by <see cref="Utf8JsonWriter"/> when <see cref="
Indented
"/> is enabled. Defaults to two.
141
/// Gets or sets the new line string to use when <see cref="
Indented
"/> is <see langword="true"/>.
System\Text\Json\Writer\Utf8JsonWriter.cs (6)
606
Debug.Assert(_options.
Indented
|| !_options.SkipValidation);
608
if (_options.
Indented
)
802
if (_options.
Indented
)
951
if (_options.
Indented
)
1040
Debug.Assert(_options.
Indented
|| !_options.SkipValidation);
1042
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (2)
183
if (_options.
Indented
)
196
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (2)
190
if (_options.
Indented
)
203
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (2)
189
if (_options.
Indented
)
202
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (2)
189
if (_options.
Indented
)
202
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (2)
193
if (_options.
Indented
)
206
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (2)
193
if (_options.
Indented
)
206
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.FormattedNumber.cs (2)
163
if (_options.
Indented
)
176
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (2)
189
if (_options.
Indented
)
202
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (3)
28
if (_options.
Indented
)
308
if (_options.
Indented
)
321
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (2)
262
if (_options.
Indented
)
275
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (7)
24
if (_options.
Indented
)
146
if (_options.
Indented
)
305
if (_options.
Indented
)
1305
if (_options.
Indented
)
1318
if (_options.
Indented
)
1331
if (_options.
Indented
)
1344
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (2)
271
if (_options.
Indented
)
284
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Bytes.cs (1)
39
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (2)
68
if (_options.
Indented
)
183
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTime.cs (1)
29
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTimeOffset.cs (1)
30
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Decimal.cs (1)
29
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Double.cs (1)
33
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Float.cs (1)
33
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.FormattedNumber.cs (1)
34
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Guid.cs (1)
29
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Literal.cs (1)
54
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Raw.cs (4)
32
/// The <see cref="JsonWriterOptions.
Indented
"/> and <see cref="JsonWriterOptions.Encoder"/> values for the writer instance are not applied when using this method.
65
/// The <see cref="JsonWriterOptions.
Indented
"/> and <see cref="JsonWriterOptions.Encoder"/> values for the writer instance are not applied when using this method.
96
/// The <see cref="JsonWriterOptions.
Indented
"/> and <see cref="JsonWriterOptions.Encoder"/> values for the writer instance are not applied when using this method.
132
/// The <see cref="JsonWriterOptions.
Indented
"/> and <see cref="JsonWriterOptions.Encoder"/> values for the writer instance are not applied when using this method.
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.SignedNumber.cs (1)
42
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.String.cs (2)
105
if (_options.
Indented
)
252
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.StringSegment.cs (1)
463
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.UnsignedNumber.cs (1)
44
if (_options.
Indented
)