SerializerCS 1.1.0
dotnet add package SerializerCS --version 1.1.0
NuGet\Install-Package SerializerCS -Version 1.1.0
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.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SerializerCS" Version="1.1.0" />
<PackageReference Include="SerializerCS" />
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.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SerializerCS, 1.1.0"
#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.1.0
#: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.1.0
#tool nuget:?package=SerializerCS&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BenScr.Serialization
A Performant C# Net 9.0 Serialization library that combines Json, Xml and Binary
Features
- Serialization and Deserialization of Json, Xml and Binary
- Conversion of one format to another fx. Json → Binary
How to use
Include
using BenScr.Serializer;
Set a path and create an object
string path = "Test.dat";
PersonData person = new("Name", 20);
Json
Json.Save(path, person);
PersonData loadedPerson = Json.Load<PersonData>(path);
string json = Json.Serialize(person);
Binary
Binary.Save(path, person);
PersonData loadedPerson = Binary.Load<PersonData>(path);
byte[] binary = Binary.Serialize(person);
Xml
Xml.Save(path, data);
PersonData loadedPerson = XML.Load<PersonData>(path);
byte[] xml = Xml.Serialize(person);
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);
External Libaries
| Product | Versions 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.
-
net9.0
- MessagePack (>= 3.1.4)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on SerializerCS:
| Package | Downloads |
|---|---|
|
UtilityCS
A Wide Range C# Utility Library |
|
|
BenScr.AI.GeminiClient
A C# library that simplifies communication between client and the Gemini API |
|
|
EasySerialize
A highlevel C# library providing Json, Xml and Binary serialization |
|
|
GeminiAI
A C# library that simplifies communication between client and the Gemini API |
GitHub repositories
This package is not used by any popular GitHub repositories.