IJsonRpcMessageTextFormatter Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |