RestSharp.Serializers.Xml
111.0.1-alpha.0.5
Prefix Reserved
See the version list below for details.
dotnet add package RestSharp.Serializers.Xml --version 111.0.1-alpha.0.5
NuGet\Install-Package RestSharp.Serializers.Xml -Version 111.0.1-alpha.0.5
<PackageReference Include="RestSharp.Serializers.Xml" Version="111.0.1-alpha.0.5" />
paket add RestSharp.Serializers.Xml --version 111.0.1-alpha.0.5
#r "nuget: RestSharp.Serializers.Xml, 111.0.1-alpha.0.5"
// Install RestSharp.Serializers.Xml as a Cake Addin #addin nuget:?package=RestSharp.Serializers.Xml&version=111.0.1-alpha.0.5&prerelease // Install RestSharp.Serializers.Xml as a Cake Tool #tool nuget:?package=RestSharp.Serializers.Xml&version=111.0.1-alpha.0.5&prerelease
About
This package is a custom XML serializer for RestSharp. It is based on the original XML serializer that was part of RestSharp but was removed in version 107.0.0.
How to use
The default XML serializer in RestSharp is DotNetXmlSerializer
, which uses System.Xml.Serialization
library from .
NET.
In previous versions of RestSharp, the default XML serializer was a custom RestSharp XML serializer. To make the code library size smaller, the custom serializer was removed from RestSharp.
You can add it back if necessary by installing the RestSharp.Serializers.Xml
package and adding it to the client:
var client = new RestClient(
options,
configureSerialization: s => s.UseXmlSerializer()
);
As before, you can supply three optional arguments for a custom namespace, custom root element, and if you want to use SerializeAs
and DeserializeAs
attributed.
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 is compatible. 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 is compatible. 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 was computed. net462 was computed. net463 was computed. net47 was computed. net471 is compatible. net472 was computed. net48 is compatible. 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. |
NuGet packages (3)
Showing the top 3 NuGet packages that depend on RestSharp.Serializers.Xml:
Package | Downloads |
---|---|
Cortside.RestApiClient
Package Description |
|
McDoit.BambooHrClient
Based on https://github.com/jbubriski/bamboo-hr-dotnet-client this package provides a SDK for the BambooHr API using RestSharp |
|
CallsignToolkit.CallbookLookup
Callsign Toolkit for programs relating to the Amateur Radio service. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on RestSharp.Serializers.Xml:
Repository | Stars |
---|---|
Bukimedia/PrestaSharp
CSharp .Net client library for the PrestaShop API via web service
|