RestSharp.Serializers.NewtonsoftJson 112.1.0

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()
);

No packages depend on RestSharp.Serializers.NewtonsoftJson.

.NET Framework 4.7.1

.NET Standard 2.0

.NET 8.0

.NET 7.0

.NET 6.0

.NET Framework 4.8

Version Downloads Last updated
112.1.0 4 02/22/2025
106.15.0 1 02/22/2025