Phema.Serialization.Protobuf 3.0.0

C# Serialization wrapper for Microsoft.Extensions.DependencyInjection

This package is considered a SemVer 2.0.0 package as it has a package dependency on SemVer 2.0.0 package(s).
This package will only be available to download with SemVer 2.0.0 compatible NuGet clients, such as Visual Studio 2017 (version 15.3) and above or NuGet client 4.3.0 and above. Read more
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.

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);

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0 43 7/24/2019
3.0.0-preview3.0.0 55 3/30/2019