Class JsonRpcConvert
Provides methods to convert between JSON-RPC types and JSON strings.
Namespace: XploRe.Net.JsonRpc
Assembly: XploRe.Net.JsonRpc.dll
Syntax
public static class JsonRpcConvert : Object
Methods
| Name | Description |
|---|---|
| Deserialize<T>(StreamReader) | Constructs a JSON-RPC message from a provided stream reader. |
| Deserialize<T>(StreamReader, JsonRpcSerializerSettings) | Constructs a JSON-RPC message from a provided stream reader. |
| Deserialize<T>(String) | Constructs a JSON-RPC message from a provided JSON string. |
| Deserialize<T>(String, JsonRpcSerializerSettings) | Constructs a JSON-RPC message from a provided JSON string. |
| DeserializeBatch<T>(String) | Constructs a JSON-RPC message batch from a provided JSON string. |
| DeserializeBatch<T>(String, JsonRpcSerializerSettings) | Constructs a JSON-RPC message batch from a provided JSON string. |
| Serialize<T>(T) | Serialises a JSON-RPC message to JSON. |
| Serialize<T>(T, JsonRpcSerializerSettings) | Serialises a JSON-RPC message to JSON. |
| Serialize<T>(JsonRpcBatch<T>) | Serialises a JSON-RPC batch to JSON. |
| Serialize<T>(JsonRpcBatch<T>, JsonRpcSerializerSettings) | Serialises a JSON-RPC batch to JSON. |