Skip to content

JSON-RPC for modern C++

License

Notifications You must be signed in to change notification settings

advancedfx/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 (1.0 & 2.0) framework implemented in C++17 using the nlohmann's json for modern C++.

  • JSON-RPC 1.0 and 2.0 compliant client
  • JSON-RPC 1.0 and 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

About

JSON-RPC for modern C++

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.9%
  • CMake 3.1%