Flurl.Http.Newtonsoft 0.9.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Flurl.Http.Newtonsoft --version 0.9.1
NuGet\Install-Package Flurl.Http.Newtonsoft -Version 0.9.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Flurl.Http.Newtonsoft" Version="0.9.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Flurl.Http.Newtonsoft --version 0.9.1
#r "nuget: Flurl.Http.Newtonsoft, 0.9.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

NuGet version (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 via Settings.JsonSerializer.
  • Shortcuts for enabling the serializer more "globally":
    • When using the clientless pattern: FlurlHttp.Clients.UseNewtonsoft()
    • When using DI / named clients: new FlurlClientCache().UseNewtonsoft()
  • Non-generic dynamic-returning GetJson, GetJsonList, ReceiveJson, and ReceiveJsonList 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Flurl.Http.Newtonsoft:

Package Downloads
N3O.Umbraco.Extensions

TODO

Reo.Core.Auth

Package Description

Reo.Core.FileStorage

Package Description

Fly.Toolkit.Wpf

请无视它,它并不好用,只是能给我自己带来一点点的便利而已

Umbraco.Commerce.PaymentProviders.Opayo The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Opayo payment provider for Umbraco Commerce

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Flurl.Http.Newtonsoft:

Repository Stars
ESPresense/ESPresense-companion
HA Add-on / Docker container that solves indoor positions with mqtt data received from multiple ESPresense stations
Version Downloads Last updated
0.9.1 95,325 1/10/2024
0.9.0 17,672 12/14/2023
0.9.0-pre3 75 12/8/2023
0.9.0-pre2 115 12/5/2023