4 references to SerializeAsync
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializer.Write.Pipe.cs (1)
282FlushResult result = await jsonTypeInfo.SerializeAsync(utf8Json, item, flushThreshold, cancellationToken, jsonLineWriter: writer).ConfigureAwait(false);
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (3)
71return SerializeAsync(writer, rootValue, flushThreshold, cancellationToken, rootValueBoxed); 81return SerializeAsync(utf8Json, rootValue, flushThreshold, cancellationToken, rootValueBoxed); 372=> SerializeAsync(pipeWriter, JsonSerializer.UnboxOnWrite<T>(rootValue), flushThreshold, cancellationToken, rootValue, jsonLineWriter);