Flurl.Http.Newtonsoft
0.9.1
Prefix Reserved
dotnet add package Flurl.Http.Newtonsoft --version 0.9.1
NuGet\Install-Package Flurl.Http.Newtonsoft -Version 0.9.1
<PackageReference Include="Flurl.Http.Newtonsoft" Version="0.9.1" />
<PackageVersion Include="Flurl.Http.Newtonsoft" Version="0.9.1" />
<PackageReference Include="Flurl.Http.Newtonsoft" />
paket add Flurl.Http.Newtonsoft --version 0.9.1
#r "nuget: Flurl.Http.Newtonsoft, 0.9.1"
#:package Flurl.Http.Newtonsoft@0.9.1
#addin nuget:?package=Flurl.Http.Newtonsoft&version=0.9.1
#tool nuget:?package=Flurl.Http.Newtonsoft&version=0.9.1
Flurl.Http.Newtonsoft
Flurl.Http 4.0 removed the Newtonsoft.Json dependency in favor of System.Text.Json for its default JSON serializer implementation. This has several advantages, most notably that it dramatically reduces Flurl's footprint, which is especially important to developers using it in mobile apps and browser platforms.
But it's also a breaking change. Upgrading from 3.x may cause some pains, such as:
- Newtonsoft's serialization attributes no longer have any effect, and need be replaced by their STJ equivalents.
- Newtonsoft's configuration settings also no longer have any effect in Flurl.
- Support for
dynamics has also been removed in Flurl, specifically due to the lack of support in STJ.
This package aims to solve these problems, making upgrading easier for those who still want or need Newtonsoft-based serialization. Included in this package:
NewtonsoftJsonSearializer, an instance of which can be assigned to a Flurl client or request viaSettings.JsonSerializer.- Shortcuts for enabling the serializer more "globally":
- When using the clientless pattern:
FlurlHttp.Clients.UseNewtonsoft() - When using DI / named clients:
new FlurlClientCache().UseNewtonsoft()
- When using the clientless pattern:
- Non-generic
dynamic-returningGetJson,GetJsonList,ReceiveJson, andReceiveJsonListextension methods.
Both NewtonsoftJsonSerializer and the UseNewtonsoft shortcuts take an optional JsonSerializerSettings parameter. In fact, the serializer was lifted directly from 3.x, so you can trust that it's battle-tested and highly performant.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 was computed. 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 is compatible. 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. |
-
.NETFramework 4.6.1
- Flurl.Http (>= 4.0.1)
- Newtonsoft.Json (>= 13.0.1)
-
.NETStandard 2.0
- Flurl.Http (>= 4.0.1)
- Newtonsoft.Json (>= 13.0.1)
-
net6.0
- Flurl.Http (>= 4.0.1)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (36)
Showing the top 5 NuGet packages that depend on Flurl.Http.Newtonsoft:
| Package | Downloads |
|---|---|
|
N3O.Umbraco.Extensions
TODO |
|
|
Reo.Core.IdentityModel
Package Description |
|
|
Reo.Core.Database
Package Description |
|
|
Reo.Core.Elastic
Package Description |
|
|
Reo.Core.Auth
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.1 | 5,072,417 | 1/10/2024 |
| 0.9.0 | 55,981 | 12/14/2023 |
| 0.9.0-pre3 | 213 | 12/8/2023 |
| 0.9.0-pre2 | 267 | 12/5/2023 |