12 writes to Indented
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
192
using var writer = new Utf8JsonWriter(stream, new JsonWriterOptions {
Indented
= true });
Aspire.Hosting (1)
Publishing\ManifestPublisher.cs (1)
40
using var jsonWriter = JsonWriter ?? new Utf8JsonWriter(stream, new JsonWriterOptions {
Indented
= true });
Aspire.Hosting.Azure.EventHubs (2)
AzureEventHubsExtensions.cs (2)
259
using var writer = new Utf8JsonWriter(stream, new JsonWriterOptions {
Indented
= true });
300
using var writer = new Utf8JsonWriter(writeStream, new JsonWriterOptions {
Indented
= true });
Aspire.Hosting.Azure.ServiceBus (2)
AzureServiceBusExtensions.cs (2)
331
using var writer = new Utf8JsonWriter(stream, new JsonWriterOptions {
Indented
= true });
400
using var writer = new Utf8JsonWriter(writeStream, new JsonWriterOptions {
Indented
= true });
Aspire.Hosting.Tests (1)
Helpers\JsonDocumentManifestPublisher.cs (1)
22
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)
1055
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)
636
Debug.Assert(_options.
Indented
|| !_options.SkipValidation);
638
if (_options.
Indented
)
822
if (_options.
Indented
)
977
if (_options.
Indented
)
1066
Debug.Assert(_options.
Indented
|| !_options.SkipValidation);
1068
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (2)
186
if (_options.
Indented
)
199
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (2)
193
if (_options.
Indented
)
206
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (2)
192
if (_options.
Indented
)
205
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (2)
192
if (_options.
Indented
)
205
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (2)
196
if (_options.
Indented
)
209
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (2)
196
if (_options.
Indented
)
209
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)
192
if (_options.
Indented
)
205
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (3)
28
if (_options.
Indented
)
314
if (_options.
Indented
)
327
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (2)
268
if (_options.
Indented
)
281
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (7)
24
if (_options.
Indented
)
149
if (_options.
Indented
)
308
if (_options.
Indented
)
1320
if (_options.
Indented
)
1333
if (_options.
Indented
)
1346
if (_options.
Indented
)
1359
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (2)
277
if (_options.
Indented
)
290
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)
71
if (_options.
Indented
)
186
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.
68
/// The <see cref="JsonWriterOptions.
Indented
"/> and <see cref="JsonWriterOptions.Encoder"/> values for the writer instance are not applied when using this method.
99
/// The <see cref="JsonWriterOptions.
Indented
"/> and <see cref="JsonWriterOptions.Encoder"/> values for the writer instance are not applied when using this method.
135
/// 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)
368
if (_options.
Indented
)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.UnsignedNumber.cs (1)
44
if (_options.
Indented
)