5 references to SerializeAsync
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\SystemTextJsonOutputFormatter.cs (1)
114await JsonSerializer.SerializeAsync(transcodingStream, context.Object, jsonTypeInfo);
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactory.cs (1)
328await JsonSerializer.SerializeAsync(stream, result, _returnTypeInfo, cancellationToken).ConfigureAwait(false);
System.Net.Http.Json (2)
System\Net\Http\Json\JsonContent.cs (2)
119: JsonSerializer.SerializeAsync(targetStream, Value, _typeInfo, cancellationToken); 131await JsonSerializer.SerializeAsync(transcodingStream, Value, _typeInfo, cancellationToken).ConfigureAwait(false);
System.Text.Json (1)
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (1)
108/// and <see cref="SerializeAsync(IO.Stream, object?, JsonTypeInfo, Threading.CancellationToken)"/>.