Introduction
json_rpc is a library for routing JSON 2.0 format remote procedure calls over different transports, implementing the JSON-RPC standard. It is designed to automatically generate marshalling and parameter checking code based on the RPC parameter types.
Installation
As a nimble dependency:
requires "json_rpc"
Via nimble install:
nimble install json_rpc
Use cases
If you're new to JSON-RPC and/or json_rpc, check out our brief overview. The rest of the documentation is organized around use cases:
- Establishing a JSON-RPC connection
- Receiving a JSON-RPC request
- Sending a JSON-RPC request
- Adding Remote RPC Targets
- Throwing and handling exceptions
- Format conversion
- Testability
The cookbook section contains the functional code examples used throughout the docs.