StreamJsonRpc 2.22.11
StreamJsonRpc
StreamJsonRpc is a cross-platform, .NET portable library that implements the JSON-RPC wire protocol.
It works over Stream, WebSocket, or System.IO.Pipelines pipes, independent of the underlying transport.
Bonus features beyond the JSON-RPC spec include:
- Request cancellation
- .NET Events as notifications
- Dynamic client proxy generation
- Support for compact binary serialization via MessagePack
- Pluggable architecture for custom message handling and formatting.
Learn about the use cases for JSON-RPC and how to use this library from our documentation.
Compatibility
This library has been tested with and is compatible with the following other JSON-RPC libraries:
- json-rpc-peer (npm)
- vscode-jsonrpc (npm)
Showing the top 20 packages that depend on StreamJsonRpc.
| Packages | Downloads |
|---|---|
|
Aspire.Hosting.AppHost
Core library and MSBuild logic for .NET Aspire AppHost projects.
|
2 |
|
Aspire.Hosting
Core abstractions for the .NET Aspire application model.
|
2 |
|
Aspire.Hosting
Core abstractions for the Aspire application model.
|
1 |
.NET 8.0
- MessagePack (>= 2.5.192)
- Microsoft.VisualStudio.Threading.Only (>= 17.13.61)
- Nerdbank.Streams (>= 2.12.87)
- Newtonsoft.Json (>= 13.0.3)
- Microsoft.VisualStudio.Validation (>= 17.8.8)
- System.IO.Pipelines (>= 8.0.0)
.NET Standard 2.0
- MessagePack (>= 2.5.192)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- Microsoft.VisualStudio.Threading.Only (>= 17.13.61)
- Nerdbank.Streams (>= 2.12.87)
- Newtonsoft.Json (>= 13.0.3)
- System.Collections.Immutable (>= 8.0.0)
- System.Diagnostics.DiagnosticSource (>= 8.0.1)
- System.IO.Pipelines (>= 8.0.0)
- System.Text.Json (>= 8.0.5)
- System.Threading.Tasks.Dataflow (>= 8.0.1)
- Microsoft.VisualStudio.Validation (>= 17.8.8)
.NET Standard 2.1
- MessagePack (>= 2.5.192)
- Microsoft.VisualStudio.Threading.Only (>= 17.13.61)
- Nerdbank.Streams (>= 2.12.87)
- Newtonsoft.Json (>= 13.0.3)
- System.Collections.Immutable (>= 8.0.0)
- System.Diagnostics.DiagnosticSource (>= 8.0.1)
- System.IO.Pipelines (>= 8.0.0)
- System.Text.Json (>= 8.0.5)
- System.Threading.Tasks.Dataflow (>= 8.0.1)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- Microsoft.VisualStudio.Validation (>= 17.8.8)
| Version | Downloads | Last updated |
|---|---|---|
| 2.22.11 | 2 | 12/21/2025 |
| 2.8.28 | 1 | 12/20/2025 |
| 2.3.22-alpha | 1 | 12/19/2025 |
| 2.2.53 | 1 | 12/20/2025 |