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" />
paket add Flurl.Http.Newtonsoft --version 0.9.1
#r "nuget: Flurl.Http.Newtonsoft, 0.9.1"
// Install Flurl.Http.Newtonsoft as a Cake Addin #addin nuget:?package=Flurl.Http.Newtonsoft&version=0.9.1 // Install Flurl.Http.Newtonsoft as a Cake Tool #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
dynamic
s 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
, andReceiveJsonList
extension 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. |
.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 (23)
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 (4)
Showing the top 4 popular GitHub repositories that depend on Flurl.Http.Newtonsoft:
Repository | Stars |
---|---|
LightCountry/TokenPay
✅一款同时支持动态和静态收款地址收取TRX、USDT-TRC20、ETH系列区块链所有代币的支付解决方案!✅A payment solution that supports both dynamic and static payee addresses to receive TRX, USDT-TRC20, all tokens of ETH series blockchain!
|
|
yoshiask/FluentStore
A unifying frontend for Windows app stores and package managers
|
|
dymproject/purest-admin
基于 .NET 8 + vue3 实现的极简RBAC权限管理系统后端 后端基于精简后的abp框架,前端基于vue-pure-admin,前端极强的表格框架vxe-table,旨在打造一款最合适二次开发的极简.Net框架
|
|
ESPresense/ESPresense-companion
HA Add-on / Docker container that solves indoor positions with mqtt data received from multiple ESPresense nodes
|
Version | Downloads | Last updated |
---|---|---|
0.9.1 | 950,764 | 1/10/2024 |
0.9.0 | 29,808 | 12/14/2023 |
0.9.0-pre3 | 107 | 12/8/2023 |
0.9.0-pre2 | 147 | 12/5/2023 |