 | 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
Syntaxpublic static Message LoadJson(
TextReader textReader
)
Public Shared Function LoadJson (
textReader As TextReader
) As Message
Dim textReader As TextReader
Dim returnValue As Message
returnValue = Message.LoadJson(textReader)
public:
static Message^ LoadJson(
TextReader^ textReader
)
static member LoadJson :
textReader : TextReader -> Message
Parameters
- textReader
- Type: System.IOTextReader
JSON content.
Return Value
Type:
MessageA subclass of
Message.
ExceptionsException | Condition |
---|
ArgumentException | textReader doesn't contain valid JSON RPC message. |
See Also