Table of Contents

Class MessagePackSerializerPlugin

Namespace
Nerdbank.JsonRpc
Assembly
Nerdbank.JsonRpc.dll

Adapts a configured MessagePack serializer.

[GenerateShapeFor<JsonNode>]
public sealed class MessagePackSerializerPlugin : JsonRpcSerializer, IShapeable<JsonNode>
Inheritance
MessagePackSerializerPlugin
Implements
Inherited Members

Constructors

MessagePackSerializerPlugin(MessagePackSerializer)

Initializes a new instance of the MessagePackSerializerPlugin class.

public MessagePackSerializerPlugin(MessagePackSerializer serializer)

Parameters

serializer MessagePackSerializer

The configured serializer.

Properties

Encoding

Gets the wire encoding.

public override JsonRpcEncoding Encoding { get; }

Property Value

JsonRpcEncoding

GeneratedTypeShapeProvider

Gets the source generated SourceGenTypeShapeProvider corresponding to the current assembly.

public static SourceGenTypeShapeProvider GeneratedTypeShapeProvider { get; }

Property Value

SourceGenTypeShapeProvider

Serializer

Gets the configured serializer.

public MessagePackSerializer Serializer { get; }

Property Value

MessagePackSerializer