QJsonRpc is a Qt implementation of the JSON-RPC protocol. It integrates nicely with Qt, leveraging Qt's meta object system in order to provide services over the JSON-RPC protocol. QJsonRpc is licensed under the LGPLv2.1.
- JSON is a lightweight data interchange format.
- JSON-RPC is lightweight remote procedure call protocol similar to XML-RPC.
This version has been integrated into Targoman Statistical Machine Translation. It has been incorporated with a Multi-Threaded HTTP Server that runs a new thread per client. It also reports connected socket information to services
- Qt 5 or greater
- Support for JSON-RPC 2.0
- Easily create services using the Qt meta object system
- QtScript integration
git submodule update --init --recursive
qmake && make install
You can pass the following arguments to qmake:
PREFIX=<prefix> to change the install prefix
default:
unix: ~/local
other: $$[QT_INSTALL_PREFIX]
LIB_TYPE=staticlib to build a static version of the library
-config private-headers build with qt private headers (to reduce allocations)