Click or drag to resize

MessageLoadJson Method (TextReader)

[This is preliminary documentation and is subject to change.]

Converts a string containing JSON RPC message into Message.

Namespace:  JsonRpc.Messages
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public static Message LoadJson(
	TextReader textReader
)

Parameters

textReader
Type: System.IOTextReader
JSON content.

Return Value

Type: Message
A subclass of Message.
Exceptions
ExceptionCondition
ArgumentExceptiontextReader doesn't contain valid JSON RPC message.
See Also