AnySerializer 1.0.0

Serialize and deserialize any object without decoration/attributes.

There is a newer version of this package available.
See the version list below for details.
Install-Package AnySerializer -Version 1.0.0
dotnet add package AnySerializer --version 1.0.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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].

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].

Release Notes

Serialize and deserialize any object without decoration/attributes.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.31 117 5/16/2019
1.1.29 224 4/21/2019
1.1.26 157 4/20/2019
1.1.25 158 4/20/2019
1.1.24 144 4/20/2019
1.1.21 174 4/20/2019
1.1.13 100 4/14/2019
1.1.8 862 12/28/2018
1.1.6 103 12/27/2018
1.1.3 103 12/27/2018
1.1.1 114 12/27/2018
1.1.0 106 12/27/2018
1.0.42 125 12/21/2018
1.0.40 127 12/21/2018
1.0.28 395 12/5/2018
1.0.27 118 12/5/2018
1.0.23 122 12/4/2018
1.0.22 140 12/4/2018
1.0.20 113 12/3/2018
1.0.19 116 12/3/2018
1.0.17 154 12/3/2018
1.0.10 121 12/2/2018
1.0.9 111 12/2/2018
1.0.7 118 11/29/2018
1.0.6 126 11/29/2018
1.0.5 123 11/28/2018
1.0.4 177 11/28/2018
1.0.3 111 11/22/2018
1.0.2 194 11/22/2018
1.0.1 132 11/19/2018
1.0.0 120 11/18/2018
Show less