Phema.Serialization.Protobuf 3.0.0

C# Serialization wrapper for Microsoft.Extensions.DependencyInjection

Install-Package Phema.Serialization.Protobuf -Version 3.0.0
dotnet add package Phema.Serialization.Protobuf --version 3.0.0
<PackageReference Include="Phema.Serialization.Protobuf" Version="3.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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Phema.Serialization.Protobuf, 3.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

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

Phema.Serialization

Build Status

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

Packages

  • Nuget Phema.Serialization
  • Nuget Phema.Serialization.Json - Still not ready for now
  • Nuget Phema.Serialization.MessagePack
  • Nuget Phema.Serialization.NewtonsoftJson
  • Nuget Phema.Serialization.Protobuf
  • Nuget Phema.Serialization.Xml

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

Build Status

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

Packages

  • Nuget Phema.Serialization
  • Nuget Phema.Serialization.Json - Still not ready for now
  • Nuget Phema.Serialization.MessagePack
  • Nuget Phema.Serialization.NewtonsoftJson
  • Nuget Phema.Serialization.Protobuf
  • Nuget Phema.Serialization.Xml

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