Awesome
json-rpc-cxx
A JSON-RPC 2.0 framework implemented in C++17 using the nlohmann's json for modern C++.
- JSON-RPC 2.0 compliant client
- JSON-RPC 2.0 compliant server
- Transport agnostic interfaces
- Compile time type mapping (using nlohmann's arbitrary type conversion)
- Runtime type checking
- Cross-platform (Windows, Linux, OSX)
Installation
- Copy include/jsonrpccxx to your include path
- Alternatively use CMake install mechanism
mkdir build && cd build
cmake ..
sudo make install
Usage
Design goals
- Easy to use interface
- Type safety where possible
- Avoid errors at compile time where possible
- Test driven development
- Choose expressiveness over speed
- Minimal dependencies
License
This framework is licensed under MIT.
Dependencies
- nlohmann's JSON for modern C++ is licensed under MIT.
- Optional: doctest is licensed under MIT.