 | MessageLoadJson Method (String) |
[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(
string jsonContent
)
Public Shared Function LoadJson (
jsonContent As String
) As Message
Dim jsonContent As String
Dim returnValue As Message
returnValue = Message.LoadJson(jsonContent)
public:
static Message^ LoadJson(
String^ jsonContent
)
static member LoadJson :
jsonContent : string -> Message
Parameters
- jsonContent
- Type: SystemString
JSON content.
Return Value
Type:
MessageA subclass of
Message.
ExceptionsException | Condition |
---|
ArgumentException | jsonContent doesn't contain valid JSON RPC message. |
See Also