8 references to GetWriterOptions
System.Text.Json (8)
System\Text\Json\Nodes\JsonNode.To.cs (1)
21
writerOptions = options.
GetWriterOptions
();
System\Text\Json\Serialization\JsonSerializer.Read.Node.cs (2)
160
using (var writer = new Utf8JsonWriter(output, options.
GetWriterOptions
()))
181
using (var writer = new Utf8JsonWriter(output, options.
GetWriterOptions
()))
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (2)
161
var writer = new Utf8JsonWriter(pipeWriter, Options.
GetWriterOptions
());
302
using var writer = new Utf8JsonWriter(bufferWriter, Options.
GetWriterOptions
());
System\Text\Json\Writer\Utf8JsonWriterCache.cs (3)
18
RentWriterAndBuffer(options.
GetWriterOptions
(), options.DefaultBufferSize, out bufferWriter);
53
writer.Reset(bufferWriter, options.
GetWriterOptions
());
58
writer = new Utf8JsonWriter(bufferWriter, options.
GetWriterOptions
());