Greentube.Serialization 1.0.0-alpha2

Provides a common contract for serialization.

This is a prerelease version of Greentube.Serialization.
Install-Package Greentube.Serialization -Version 1.0.0-alpha2
dotnet add package Greentube.Serialization --version 1.0.0-alpha2
<PackageReference Include="Greentube.Serialization" Version="1.0.0-alpha2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Greentube.Serialization --version 1.0.0-alpha2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Greentube.Serialization, 1.0.0-alpha2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Greentube.Serialization as a Cake Addin
#addin nuget:?package=Greentube.Serialization&version=1.0.0-alpha2&prerelease

// Install Greentube.Serialization as a Cake Tool
#tool nuget:?package=Greentube.Serialization&version=1.0.0-alpha2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Greentube.Serialization NuGet

This package hold the base abstraction of serialization. It's a simple contract which any implementation of a serialization format can adhere:

interface ISerializer
{
    byte[] Serialize<T>(T @object);

    object Deserialize(Type type, byte[] bytes);
}

As an extension method on ISerializer, the more convenient Deserialize<T> is available. Useful when T is known at compile time.

public static T Deserialize<T>(
    this ISerializer serializer,
    byte[] bytes);

This package depends on .NET Standard 1.0 and hence is supported by any runtime introduced after 2010.

Greentube.Serialization NuGet

This package hold the base abstraction of serialization. It's a simple contract which any implementation of a serialization format can adhere:

interface ISerializer
{
    byte[] Serialize<T>(T @object);

    object Deserialize(Type type, byte[] bytes);
}

As an extension method on ISerializer, the more convenient Deserialize<T> is available. Useful when T is known at compile time.

public static T Deserialize<T>(
    this ISerializer serializer,
    byte[] bytes);

This package depends on .NET Standard 1.0 and hence is supported by any runtime introduced after 2010.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Greentube.Serialization:

Package Downloads
Greentube.Messaging
Provides a simple API for messaging.
Greentube.Serialization.DependencyInjection
Integration of Greentube.Serialization with Microsoft.DependencyInjection.
Greentube.Serialization.ProtoBuf
A Protocol Buffers implementation of ISerializer provided by Greentube.Serialization
Greentube.Serialization.Json
A JSON implementation of ISerializer provided by Greentube.Serialization
Greentube.Serialization.Xml
An XML implementation of ISerializer provided by Greentube.Serialization

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0-alpha2 2,168 11/26/2017
1.0.0-alpha 765 11/25/2017