AnySerializer 1.0.0
See the version list below for details.
dotnet add package AnySerializer --version 1.0.0
NuGet\Install-Package AnySerializer -Version 1.0.0
<PackageReference Include="AnySerializer" Version="1.0.0" />
paket add AnySerializer --version 1.0.0
#r "nuget: AnySerializer, 1.0.0"
// 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 | Versions 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. net9.0 was computed. 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. |
.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. |
-
.NETStandard 2.0
- Newtonsoft.Json (>= 12.0.1-beta1)
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 | 9,387 | 3/15/2023 |
1.2.3 | 232 | 3/14/2023 |
1.2.2 | 253 | 3/14/2023 |
1.2.1 | 251 | 3/14/2023 |
1.2.0 | 254 | 3/14/2023 |
1.1.46 | 57,461 | 7/10/2020 |
1.1.44 | 591 | 7/9/2020 |
1.1.43 | 5,923 | 4/21/2020 |
1.1.42 | 500 | 4/21/2020 |
1.1.39 | 541 | 4/16/2020 |
1.1.31 | 90,517 | 5/16/2019 |
1.1.29 | 1,176 | 4/21/2019 |
1.1.26 | 1,105 | 4/20/2019 |
1.1.25 | 1,138 | 4/20/2019 |
1.1.24 | 1,122 | 4/20/2019 |
1.1.21 | 1,131 | 4/20/2019 |
1.1.13 | 1,069 | 4/14/2019 |
1.1.8 | 1,939 | 12/28/2018 |
1.1.6 | 1,160 | 12/27/2018 |
1.1.3 | 1,139 | 12/27/2018 |
1.1.1 | 1,154 | 12/27/2018 |
1.1.0 | 1,168 | 12/27/2018 |
1.0.42 | 1,182 | 12/21/2018 |
1.0.40 | 1,173 | 12/21/2018 |
1.0.28 | 1,469 | 12/5/2018 |
1.0.27 | 1,189 | 12/5/2018 |
1.0.23 | 1,208 | 12/4/2018 |
1.0.22 | 1,283 | 12/4/2018 |
1.0.20 | 1,238 | 12/3/2018 |
1.0.19 | 1,273 | 12/3/2018 |
1.0.17 | 1,332 | 12/3/2018 |
1.0.10 | 1,271 | 12/2/2018 |
1.0.9 | 1,227 | 12/2/2018 |
1.0.7 | 1,242 | 11/29/2018 |
1.0.6 | 1,240 | 11/29/2018 |
1.0.5 | 1,215 | 11/28/2018 |
1.0.4 | 1,299 | 11/28/2018 |
1.0.3 | 1,143 | 11/22/2018 |
1.0.2 | 1,250 | 11/22/2018 |
1.0.1 | 1,193 | 11/19/2018 |
1.0.0 | 1,188 | 11/18/2018 |
Serialize and deserialize any object without decoration/attributes.