Phema.Serialization.Protobuf 3.0.0-preview3.0.0

C# Serialization wrapper for Microsoft.Extensions.DependencyInjection

This is a prerelease version of Phema.Serialization.Protobuf.
There is a newer version of this package available.
See the version list below for details.
Install-Package Phema.Serialization.Protobuf -Version 3.0.0-preview3.0.0
dotnet add package Phema.Serialization.Protobuf --version 3.0.0-preview3.0.0
<PackageReference Include="Phema.Serialization.Protobuf" Version="3.0.0-preview3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Phema.Serialization.Protobuf --version 3.0.0-preview3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Phema.Serialization.Protobuf, 3.0.0-preview3.0.0"
#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 Phema.Serialization.Protobuf as a Cake Addin
#addin nuget:?package=Phema.Serialization.Protobuf&version=3.0.0-preview3.0.0&prerelease

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

Phema.Serialization

Nuget

C# Json, xml, protobuf and messagepack wrappers for Microsoft.Extensions.DependencyInjection

Usage


// Json
services.AddJsonSerializer();

// Newtonsoft.Json
services.AddNewtonsoftJsonSerializer();

// MessagePack
services.AddMessagePackSerializer();

// XML
services.AddXmlSerializer();

// Protobuf
services.AddProtobufSerializer();

// Resolve
var serializer = provider.GetRequiredService<ISerializer>();

// Serialize
var serialized = serializer.Serialize(model);

// Deserialize
var deserialized = serializer.Deserialize<Model>(serialized);

Phema.Serialization

Nuget

C# Json, xml, protobuf and messagepack wrappers for Microsoft.Extensions.DependencyInjection

Usage


// Json
services.AddJsonSerializer();

// Newtonsoft.Json
services.AddNewtonsoftJsonSerializer();

// MessagePack
services.AddMessagePackSerializer();

// XML
services.AddXmlSerializer();

// Protobuf
services.AddProtobufSerializer();

// Resolve
var serializer = provider.GetRequiredService<ISerializer>();

// Serialize
var serialized = serializer.Serialize(model);

// Deserialize
var deserialized = serializer.Deserialize<Model>(serialized);

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0 192 7/24/2019
3.0.0-preview3.0.0 177 3/30/2019