Share via


ServiceJsonRpcDescriptor.Formatters Enum

Definition

The formats that JSON-RPC can be serialized to.

public: enum class ServiceJsonRpcDescriptor::Formatters
public enum ServiceJsonRpcDescriptor.Formatters
type ServiceJsonRpcDescriptor.Formatters = 
Public Enum ServiceJsonRpcDescriptor.Formatters
Inheritance
ServiceJsonRpcDescriptor.Formatters

Fields

MessagePack 1

Format messages with MessagePack for a high throughput, compact binary representation.

UTF8 0

Format messages with UTF-8 text for a human readable JSON representation using the Newtonsoft.Json.JsonSerializer (i.e. JSON.NET) serializer. This can be wire-protocol compatible with UTF8SystemTextJson if the Newtonsoft.Json.JsonSerializerSettings are configured to be compatible with System.Text.Json.

UTF8SystemTextJson 2

Format messages with UTF-8 text for a human readable JSON representation using the JsonSerializer serializer. This can be wire-protocol compatible with UTF8 if the JsonSerializerOptions are configured to be compatible with JSON.NET.

Applies to