Kampute.HttpClient.NewtonsoftJson
3.1.0
See the version list below for details.
dotnet add package Kampute.HttpClient.NewtonsoftJson --version 3.1.0
NuGet\Install-Package Kampute.HttpClient.NewtonsoftJson -Version 3.1.0
<PackageReference Include="Kampute.HttpClient.NewtonsoftJson" Version="3.1.0" />
<PackageVersion Include="Kampute.HttpClient.NewtonsoftJson" Version="3.1.0" />
<PackageReference Include="Kampute.HttpClient.NewtonsoftJson" />
paket add Kampute.HttpClient.NewtonsoftJson --version 3.1.0
#r "nuget: Kampute.HttpClient.NewtonsoftJson, 3.1.0"
#:package Kampute.HttpClient.NewtonsoftJson@3.1.0
#addin nuget:?package=Kampute.HttpClient.NewtonsoftJson&version=3.1.0
#tool nuget:?package=Kampute.HttpClient.NewtonsoftJson&version=3.1.0
Kampute.HttpClient.NewtonsoftJson
JSON support for Kampute.HttpClient, using Newtonsoft.Json to read responses and write request payloads.
Content formats guide · API reference
Installation
The package includes the core client as a dependency.
dotnet add package Kampute.HttpClient.NewtonsoftJson
Usage
Register the JSON formatter before requesting a typed response. Replace the example URL with your API; this model assumes a response such as {"Id":42,"Name":"Example"}.
using Kampute.HttpClient;
using Kampute.HttpClient.NewtonsoftJson;
using var client = new HttpRestClient();
client.UseNewtonsoftJson();
var resource = await client.GetAsync<Resource>("https://api.example.com/resource");
public sealed class Resource
{
public int Id { get; set; }
public string? Name { get; set; }
}
Use PostAsJsonAsync, PutAsJsonAsync, or PatchAsJsonAsync to send JSON payloads. See Sending requests for examples and Content formats for serializer configuration.
License
Kampute.HttpClient.NewtonsoftJson is released under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Kampute.HttpClient (>= 3.1.0)
- Newtonsoft.Json (>= 13.0.4)
-
net10.0
- Kampute.HttpClient (>= 3.1.0)
- Newtonsoft.Json (>= 13.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.2.0 | 173 | 10/8/2026 |
| 3.1.0 | 150 | 10/7/2026 |
| 3.0.0 | 162 | 10/5/2026 |
| 2.5.1 | 216 | 7/7/2026 |
| 2.5.0 | 369 | 12/21/2025 |
| 2.4.0 | 275 | 11/15/2025 |
| 2.3.2 | 321 | 11/10/2025 |
| 2.3.1 | 756 | 7/27/2024 |
| 2.3.0 | 369 | 5/11/2024 |
| 2.2.1 | 264 | 5/8/2024 |
| 2.2.0 | 220 | 5/7/2024 |
| 2.1.1 | 254 | 5/6/2024 |
| 2.1.0 | 255 | 5/6/2024 |
| 2.0.0 | 255 | 5/5/2024 |
| 1.6.0 | 338 | 4/14/2024 |
| 1.5.0 | 255 | 4/2/2024 |
| 1.4.1 | 291 | 3/20/2024 |
| 1.4.0 | 279 | 3/19/2024 |
| 1.3.0 | 264 | 3/17/2024 |
| 1.2.0 | 264 | 3/16/2024 |
For detailed release notes, please visit https://github.com/kampute/http-client/releases