8 writes to Indented
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
192using var writer = new Utf8JsonWriter(stream, new JsonWriterOptions { Indented = true });
Aspire.Hosting (1)
Publishing\ManifestPublisher.cs (1)
40using var jsonWriter = JsonWriter ?? new Utf8JsonWriter(stream, new JsonWriterOptions { Indented = true });
Aspire.Hosting.Tests (1)
Helpers\JsonDocumentManifestPublisher.cs (1)
22using var writer = new Utf8JsonWriter(stream, new() { Indented = true });
HttpLogging.Sample (1)
Program.cs (1)
25Indented = true
Microsoft.Extensions.DependencyModel (1)
DependencyContextWriter.cs (1)
25var options = new JsonWriterOptions { Indented = true, Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping };
SignalRSamples (1)
Startup.cs (1)
13private readonly JsonWriterOptions _jsonWriterOptions = new JsonWriterOptions { Indented = true };
System.Text.Json (2)
System\Text\Json\Nodes\JsonNode.To.cs (1)
58Utf8JsonWriter writer = Utf8JsonWriterCache.RentWriterAndBuffer(new JsonWriterOptions { Indented = true }, JsonSerializerOptions.BufferSizeDefault, out PooledByteBufferWriter output);
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
1055Indented = WriteIndented,
58 references to Indented
System.Text.Json (58)
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)
515Debug.Assert(_options.Indented || !_options.SkipValidation); 517if (_options.Indented) 698if (_options.Indented) 853if (_options.Indented) 942Debug.Assert(_options.Indented || !_options.SkipValidation); 944if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (2)
186if (_options.Indented) 199if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (2)
193if (_options.Indented) 206if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (2)
192if (_options.Indented) 205if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (2)
192if (_options.Indented) 205if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (2)
196if (_options.Indented) 209if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (2)
196if (_options.Indented) 209if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.FormattedNumber.cs (2)
163if (_options.Indented) 176if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (2)
192if (_options.Indented) 205if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (3)
28if (_options.Indented) 314if (_options.Indented) 327if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (2)
268if (_options.Indented) 281if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (7)
24if (_options.Indented) 149if (_options.Indented) 308if (_options.Indented) 1320if (_options.Indented) 1333if (_options.Indented) 1346if (_options.Indented) 1359if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (2)
277if (_options.Indented) 290if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Bytes.cs (1)
39if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (2)
64if (_options.Indented) 179if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTime.cs (1)
29if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTimeOffset.cs (1)
30if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Decimal.cs (1)
29if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Double.cs (1)
33if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Float.cs (1)
33if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.FormattedNumber.cs (1)
34if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Guid.cs (1)
29if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Literal.cs (1)
54if (_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)
42if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.String.cs (2)
105if (_options.Indented) 252if (_options.Indented)
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.UnsignedNumber.cs (1)
44if (_options.Indented)