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 4,691 3/15/2023
1.2.3 203 3/14/2023
1.2.2 213 3/14/2023
1.2.1 213 3/14/2023
1.2.0 213 3/14/2023
1.1.46 54,241 7/10/2020
1.1.44 556 7/9/2020
1.1.43 5,886 4/21/2020
1.1.42 460 4/21/2020
1.1.39 509 4/16/2020
1.1.31 78,342 5/16/2019
1.1.29 1,143 4/21/2019
1.1.26 1,073 4/20/2019
1.1.25 1,092 4/20/2019
1.1.24 1,089 4/20/2019
1.1.21 1,096 4/20/2019
1.1.13 1,039 4/14/2019
1.1.8 1,913 12/28/2018
1.1.6 1,127 12/27/2018
1.1.3 1,118 12/27/2018
1.1.1 1,122 12/27/2018
1.1.0 1,143 12/27/2018
1.0.42 1,136 12/21/2018
1.0.40 1,129 12/21/2018
1.0.28 1,428 12/5/2018
1.0.27 1,152 12/5/2018
1.0.23 1,167 12/4/2018
1.0.22 1,238 12/4/2018
1.0.20 1,194 12/3/2018
1.0.19 1,237 12/3/2018
1.0.17 1,291 12/3/2018
1.0.10 1,224 12/2/2018
1.0.9 1,187 12/2/2018
1.0.7 1,197 11/29/2018
1.0.6 1,200 11/29/2018
1.0.5 1,188 11/28/2018
1.0.4 1,249 11/28/2018
1.0.3 1,106 11/22/2018
1.0.2 1,208 11/22/2018
1.0.1 1,158 11/19/2018
1.0.0 1,143 11/18/2018

Serialize and deserialize any object without decoration/attributes.