Share via


IJsonRpcMessageTextFormatter Interface

Definition

An IJsonRpcMessageFormatter that formats messages as JSON (text).

public interface IJsonRpcMessageTextFormatter : StreamJsonRpc.IJsonRpcMessageFormatter
type IJsonRpcMessageTextFormatter = interface
    interface IJsonRpcMessageFormatter
Public Interface IJsonRpcMessageTextFormatter
Implements IJsonRpcMessageFormatter
Derived
Implements

Properties

Encoding

Gets or sets the encoding used for serialization for methods that do not take an explicit Encoding.

Methods

Deserialize(ReadOnlySequence<Byte>, Encoding)

Deserializes a sequence of bytes to a JsonRpcMessage.

Deserialize(ReadOnlySequence<Byte>)

Deserializes a JsonRpcMessage.

(Inherited from IJsonRpcMessageFormatter)
GetJsonText(JsonRpcMessage)
Obsolete.

Gets a JSON representation for a given message for tracing purposes.

(Inherited from IJsonRpcMessageFormatter)
Serialize(IBufferWriter<Byte>, JsonRpcMessage)

Serializes a JsonRpcMessage.

(Inherited from IJsonRpcMessageFormatter)

Applies to