SerializerCS 1.0.8

dotnet add package SerializerCS --version 1.0.8
                    
NuGet\Install-Package SerializerCS -Version 1.0.8
                    
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="SerializerCS" Version="1.0.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SerializerCS" Version="1.0.8" />
                    
Directory.Packages.props
<PackageReference Include="SerializerCS" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SerializerCS --version 1.0.8
                    
#r "nuget: SerializerCS, 1.0.8"
                    
#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.
#:package SerializerCS@1.0.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SerializerCS&version=1.0.8
                    
Install as a Cake Addin
#tool nuget:?package=SerializerCS&version=1.0.8
                    
Install as a Cake Tool

Serializer

A Performant C# Net 9.0 Serialization library that combines Json, Xml and Binary

Features

  • Serialization and Deserialization of Json, Xml and Binary

How to use

using BenScr.Serialization.Json;
using BenScr.Serialization.Xml;
using BenScr.Serialization.Binary;
  • Json
string path = "Test.json";
PersonData data = new PersonData("Name", 20);
Json.Save(path, data);
PersonData loadedPerson = Json.Load<PersonData>(path);
  • Binary
string path = "Test.bin";
PersonData data = new PersonData("Name", 20);
Binary.Save(path, data);
PersonData loadedPerson = Binary.Load<PersonData>(path);
  • Xml
string path = "Test.xml";
PersonData data = new PersonData("Name", 20);
XML.Save(path, data);
PersonData loadedPerson = XML.Load<PersonData>(path);

Converting files from one format to any other

// ConvertTo() creates a new file containing the same data,
// but converted into a different format.
// By default, the output path is "path.[extension]"—in this case, "path.xml".
// You can override the output path by specifying it as the fourth parameter.
FileConverter.ConvertTo(path: "path.json", original: Format.Json, to: Format.Xml);
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SerializerCS:

Package Downloads
UtilityCS

A Wide Range C# Utility Library

EasySerialize

A highlevel C# library providing Json, Xml and Binary serialization

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.8 170 11/23/2025
1.0.7 408 11/18/2025
1.0.6 402 11/18/2025
1.0.5 404 11/18/2025
1.0.4 237 11/16/2025
1.0.3 198 10/28/2025
1.0.2 199 10/27/2025
1.0.1 193 10/27/2025
1.0.0 173 10/26/2025