.NETFramework4.7.1.NETFramework4.8net8.0net9.0.NETStandard2.0
Simple REST and HTTP API Client
Published
Dec 17, 2024
1y ago
Total Downloads
38.9M
38,899,824
Install
dotnet add package RestSharp.Serializers.NewtonsoftJson --version 112.1.1-alpha.0.4
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
About
This library allows using Newtonsoft.Json as a serializer for RestSharp instead of the default JSON serializer based
on System.Text.Json.
How to use
The default JSON serializer uses System.Text.Json, which is a part of .NET since .NET 6.
If you want to use Newtonsoft.Json, you can install the RestSharp.Serializers.NewtonsoftJson package and configure
the
client to use it:
var client = new RestClient(
options,
configureSerialization: s => s.UseNewtonsoftJson()
);
Changes from Previous Version
v112.1.1-alpha.0.1v112.1.1-alpha.0.4
Added Frameworks
net9.0
Removed Frameworks
net6.0net7.0
Added Dependencies
RestSharp(net9.0)
Newtonsoft.Json(net9.0)
Removed Dependencies
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.