Kampute.HttpClient.NewtonsoftJson
2.0.0
See the version list below for details.
dotnet add package Kampute.HttpClient.NewtonsoftJson --version 2.0.0
NuGet\Install-Package Kampute.HttpClient.NewtonsoftJson -Version 2.0.0
<PackageReference Include="Kampute.HttpClient.NewtonsoftJson" Version="2.0.0" />
paket add Kampute.HttpClient.NewtonsoftJson --version 2.0.0
#r "nuget: Kampute.HttpClient.NewtonsoftJson, 2.0.0"
// Install Kampute.HttpClient.NewtonsoftJson as a Cake Addin #addin nuget:?package=Kampute.HttpClient.NewtonsoftJson&version=2.0.0 // Install Kampute.HttpClient.NewtonsoftJson as a Cake Tool #tool nuget:?package=Kampute.HttpClient.NewtonsoftJson&version=2.0.0
Kampute.HttpClient.NewtonsoftJson
Kampute.HttpClient.NewtonsoftJson
is an extension for the Kampute.HttpClient
library, designed to enhance its functionality by providing support for handling application/json
content types. This package leverages
the Newtonsoft.Json
for efficient serialization and deserialization of JSON data, simplifying the process of sending and receiving JSON
payloads in RESTful API communications.
Installation
Install Kampute.HttpClient.NewtonsoftJson
via NuGet:
dotnet add package Kampute.HttpClient.NewtonsoftJson
Usage
To enable JSON processing capabilities in your HttpRestClient
instance, simply import the Kampute.HttpClient.NewtonsoftJson
namespace
and use the provided extension methods.
using Kampute.HttpClient;
using Kampute.HttpClient.NewtonsoftJson;
// Create a new instance of the HttpRestClient.
using var client = new HttpRestClient();
// Configure the client to accept JSON responses.
client.AcceptJson();
// Sending a JSON payload to an API endpoint.
var payload = new MyPayload();
var result = await client.PostAsJsonAsync<MyResult>("https://api.example.com/resource", payload);
Documentation
For details on how to utilize the Kampute.HttpClient.NewtonsoftJson
extension, including class references, method signatures, and property
descriptions, please refer to its API Documentation.
Contributing
Contributions are welcomed! Please feel free to fork the repository, make changes, and submit pull requests. For major changes or new features, please open an issue first to discuss what you would like to change.
License
Kampute.HttpClient.NewtonsoftJson
is licensed under the terms of 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. |
.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 is compatible. |
.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 (>= 2.0.0)
- Newtonsoft.Json (>= 13.0.3 && < 14.0.0)
-
.NETStandard 2.1
- Kampute.HttpClient (>= 2.0.0)
- Newtonsoft.Json (>= 13.0.3 && < 14.0.0)
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 |
---|---|---|
2.3.1 | 261 | 7/27/2024 |
2.3.0 | 249 | 5/11/2024 |
2.2.1 | 141 | 5/8/2024 |
2.2.0 | 108 | 5/7/2024 |
2.1.1 | 127 | 5/6/2024 |
2.1.0 | 133 | 5/6/2024 |
2.0.0 | 123 | 5/5/2024 |
1.6.0 | 205 | 4/14/2024 |
1.5.0 | 137 | 4/2/2024 |
1.4.1 | 163 | 3/20/2024 |
1.4.0 | 144 | 3/19/2024 |
1.3.0 | 131 | 3/17/2024 |
1.2.0 | 136 | 3/16/2024 |
1.1.0 | 124 | 3/11/2024 |
1.0.0 | 140 | 3/5/2024 |
For detailed release notes, please visit https://github.com/kampute/http-client/releases