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