net9.0
namespace System.Net.Http.Json
{
public static class HttpClientJsonExtensions
{
[RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext.")]
[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 Task<object?>! GetFromJsonAsync(this HttpClient! client, [StringSyntax("Uri")] string? requestUri, Type! type, JsonSerializerOptions? options, CancellationToken cancellationToken = default);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
Assembly | System.Net.Http.Json , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
Implementation | Source |
Help | Documentation |
.NET | 5.05.0-windows5.0-windows10.0.17763.05.0-windows10.0.18362.05.0-windows10.0.19041.06.06.0-android6.0-android30.0.0.06.0-ios6.0-maccatalyst6.0-macos6.0-tizen6.0-tvos6.0-windows6.0-windows7.0.0.06.0-windows10.0.17763.06.0-windows10.0.18362.06.0-windows10.0.19041.07.07.0-android7.0-android30.0.0.07.0-android33.0.0.07.0-ios7.0-ios13.6.0.07.0-ios16.1.0.07.0-maccatalyst7.0-maccatalyst13.5.0.07.0-maccatalyst16.1.0.07.0-macos7.0-macos13.0.0.07.0-tizen7.0-tizen6.5.0.07.0-tizen7.0.0.07.0-tvos7.0-windows7.0-windows10.0.17763.07.0-windows10.0.18362.07.0-windows10.0.19041.07.0-windows10.0.20348.08.08.0-android8.0-android34.0.0.08.0-ios8.0-ios17.2.0.08.0-maccatalyst8.0-maccatalyst17.2.0.08.0-macos8.0-macos14.2.0.08.0-tizen7.0.0.08.0-tizen8.0.0.08.0-tvos8.0-windows8.0-windows7.0.0.08.0-windows10.0.17763.08.0-windows10.0.18362.08.0-windows10.0.19041.08.0-windows10.0.20348.09.09.0-android9.0-android34.0.0.09.0-ios9.0-ios17.2.0.09.0-maccatalyst9.0-maccatalyst17.2.0.09.0-macos9.0-macos14.2.0.09.0-tizen8.0.0.09.0-tvos9.0-windows9.0-windows7.0.0.09.0-windows10.0.19041.09.0-windows10.0.20348.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
OS Platforms | For the selected framework this API is supported on all OS platforms. |