Skip to content

QJsonRpc is a Qt implementation of the JSON-RPC protocol

License

Notifications You must be signed in to change notification settings

Targoman/QJsonRPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

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

Help / Questions / Suggestions

qjsonrpc-development

Requirements

  • Qt 5 or greater

Features

  • Support for JSON-RPC 2.0
  • Easily create services using the Qt meta object system
  • QtScript integration

Building

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)