Table of Contents

Class RestClientExtensions

Namespace
RestSharp.Serializers.Json
Assembly
RestSharp.dll
public static class RestClientExtensions
Inheritance
RestClientExtensions
Inherited Members

Methods

UseSystemTextJson(RestClient)

Use System.Text.Json serializer with default settings

public static RestClient UseSystemTextJson(this RestClient client)

Parameters

client RestClient

Returns

RestClient

UseSystemTextJson(RestClient, JsonSerializerOptions)

Use System.Text.Json serializer with custom settings

public static RestClient UseSystemTextJson(this RestClient client, JsonSerializerOptions options)

Parameters

client RestClient
options JsonSerializerOptions

System.Text.Json serializer options

Returns

RestClient