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 5,269 5/16/2019
1.1.29 717 4/21/2019
1.1.26 649 4/20/2019
1.1.25 651 4/20/2019
1.1.24 641 4/20/2019
1.1.21 664 4/20/2019
1.1.13 591 4/14/2019
1.1.8 1,371 12/28/2018
1.1.6 604 12/27/2018
1.1.3 607 12/27/2018
1.1.1 621 12/27/2018
1.1.0 603 12/27/2018
1.0.42 621 12/21/2018
1.0.40 620 12/21/2018
1.0.28 888 12/5/2018
1.0.27 613 12/5/2018
1.0.23 616 12/4/2018
1.0.22 636 12/4/2018
1.0.20 610 12/3/2018
1.0.19 616 12/3/2018
1.0.17 651 12/3/2018
1.0.10 618 12/2/2018
1.0.9 606 12/2/2018
1.0.7 611 11/29/2018
1.0.6 621 11/29/2018
1.0.5 615 11/28/2018
1.0.4 669 11/28/2018
1.0.3 601 11/22/2018
1.0.2 687 11/22/2018
1.0.1 629 11/19/2018
1.0.0 623 11/18/2018
Show less