AnySerializer 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AnySerializer --version 1.0.0
NuGet\Install-Package AnySerializer -Version 1.0.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="AnySerializer" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AnySerializer --version 1.0.0
#r "nuget: AnySerializer, 1.0.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.
// Install AnySerializer as a Cake Addin
#addin nuget:?package=AnySerializer&version=1.0.0

// Install AnySerializer as a Cake Tool
#tool nuget:?package=AnySerializer&version=1.0.0

AnySerializer

A CSharp library that can binary serialize any object quickly and easily. No attributes/decoration required!

That's right, no need for [Serializable] or any other custom attributes on your classes!

Description

AnySerializer was built for software applications that make manual serialization difficult, or time consuming to decorate and design correctly. Other libraries require custom attributes to define serialization contracts, or fail at more complicated scenarios that involve interfaces, delegates and events defined. That's where AnySerializer shines! It literally is an anything in, anything out binary serializer.

Installation

Install AnySerializer from the Package Manager Console:

PM> Install-Package AnySerializer

Usage

var originalObject = new SomeComplexTypeWithDeepStructure();
var bytes = Serializer.Serialize();
var restoredObject = Serializer.Deserialize<SomeComplexTypeWithDeepStructure>();

Ignoring Properties/Fields

Ignoring fields/properties is as easy as using any of the following standard ignores: [IgnoreDataMember], [NonSerializable] and [JsonIgnore]. Note that [NonSerializable] only works on fields, for properties (and/or fields) use [IgnoreDataMember].

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 was computed.  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 was computed.  net472 was computed.  net48 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on AnySerializer:

Package Downloads
Binner.Model.Common

Binner common model library

Veris.Models

A collection of models for the Veris project

Veris.Shared

Package Description

Plato.Core1

Core DLL for Plato

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on AnySerializer:

Repository Stars
replaysMike/Binner
Open source parts inventory system for makers, electronics hobby, and professional engineers
Version Downloads Last updated
1.2.5 5,622 3/15/2023
1.2.3 206 3/14/2023
1.2.2 216 3/14/2023
1.2.1 216 3/14/2023
1.2.0 216 3/14/2023
1.1.46 54,944 7/10/2020
1.1.44 559 7/9/2020
1.1.43 5,888 4/21/2020
1.1.42 461 4/21/2020
1.1.39 510 4/16/2020
1.1.31 81,653 5/16/2019
1.1.29 1,145 4/21/2019
1.1.26 1,074 4/20/2019
1.1.25 1,094 4/20/2019
1.1.24 1,090 4/20/2019
1.1.21 1,097 4/20/2019
1.1.13 1,040 4/14/2019
1.1.8 1,920 12/28/2018
1.1.6 1,130 12/27/2018
1.1.3 1,121 12/27/2018
1.1.1 1,125 12/27/2018
1.1.0 1,146 12/27/2018
1.0.42 1,140 12/21/2018
1.0.40 1,132 12/21/2018
1.0.28 1,431 12/5/2018
1.0.27 1,155 12/5/2018
1.0.23 1,170 12/4/2018
1.0.22 1,241 12/4/2018
1.0.20 1,197 12/3/2018
1.0.19 1,240 12/3/2018
1.0.17 1,296 12/3/2018
1.0.10 1,227 12/2/2018
1.0.9 1,191 12/2/2018
1.0.7 1,201 11/29/2018
1.0.6 1,203 11/29/2018
1.0.5 1,191 11/28/2018
1.0.4 1,254 11/28/2018
1.0.3 1,109 11/22/2018
1.0.2 1,212 11/22/2018
1.0.1 1,161 11/19/2018
1.0.0 1,146 11/18/2018

Serialize and deserialize any object without decoration/attributes.