Share via


JsonMessageFormatter.GetJsonText(JsonRpcMessage) Method

Definition

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

public object GetJsonText (StreamJsonRpc.Protocol.JsonRpcMessage message);
abstract member GetJsonText : StreamJsonRpc.Protocol.JsonRpcMessage -> obj
override this.GetJsonText : StreamJsonRpc.Protocol.JsonRpcMessage -> obj
Public Function GetJsonText (message As JsonRpcMessage) As Object

Parameters

message
JsonRpcMessage

The message to be traced.

Returns

Any object whose ToString() method will produce a human-readable JSON string, suitable for tracing.

Implements

Applies to