net7.0
namespace Microsoft.AspNetCore.Http
{
public static class HttpRequestJsonExtensions
{
[RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
public static ValueTask<TValue> ReadFromJsonAsync<TValue>(this HttpRequest! request, CancellationToken cancellationToken = default);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET | 5.06.07.08.09.0 |
Information specific to net7.0 | |
Assembly | Microsoft.AspNetCore.Http.Extensions , Version=7.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Requires any:
|
Platform Restrictions | This API is supported on all platforms. |