Skip to content

jsonrpcx/json-rpc-cxx

Repository files navigation

json-rpc-cxx

Build status CircleCI GitHub codecov Language grade: C/C++ Codacy Badge GitHub tag (latest SemVer)

json-rpc-cxx-icon

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

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

Developer information