mkipnis / json-rpc-cxx

JSON-RPC for modern C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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-RCP 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++

License:MIT License


Languages

Language:C++ 96.9%Language:CMake 3.1%