aqlaserializer
2.0.0.372

What the difference? Data serializers don't care much about language runtime specifics like references, inheritance, etc. In contrast, an object serializer should take such things into account.

AqlaSerializer primary goal is to support important .NET features like nested collections, multi-dimensional arrays, references, etc. And it still supports Google Protocol Buffers format.

Like protobuf-net AqlaSerializer makes possible to store objects as a small in size binary data (far smaller than xml). And it's more CPU effective than BinaryFormatter and other core .NET serializers (which could be unavailable on your target platform). Its format is designed to be: small in size - efficient data storage (far smaller than xml) cheap to process - both at the client and server platform independent - portable between different programming architectures extensible - to add new data to old messages.

The implementation is compatible with most of the .NET family, including .NET 2.0/3.0/3.5/4.0, Windows Phone 8, Silverlight, Xamarin.Android, etc. The code is heavily based on Marc Gravell's protobuf-net but there are a lot of improvements and fixes.

The original protobuf-net project contains many "red" unit tests but I managed to fix a lot of them.

Some build configurations may be not available through nuget, you can download their binaries manually from github (use Project Site link).

For projects that support PackageReference, copy this XML node into the project file to reference the package.

paket add aqlaserializer --version 2.0.0.372

The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* 2.0.0.372: - Types lookup optimization for RuntimeTypeModel - RuntimeTypeModel.Add allows to specify different type family filters or custom filter - fixed concurrency bug when not final version of RootSerializer was published to clients

* 1.0.0.938:- more effficient memory usage- if writing stream CanSeek and CanRead the serializer may use it as a buffer when its own buffer grows too big

* 1.0.0.818: merged changes from the fork origin (except DNX)* 1.0.0.793: fixed AsReferenceDefault correct usage for legacy protobuf-net attributes* 1.0.0.776:- fixed issue when surrogated value was not correctly reference tracked- add method is recognized not only on IEnumerable<T> but also on its inheritors like IReadOnlyCollection<T>