Fully-featured JSON-RPC 2.0 library https://github.com/xenog/json-rpc.git#readme

Latest on Hackage:1.0.3

See all snapshots json-rpc appears in

LicenseRef-PublicDomain licensed by Jean-Pierre Rupp
Maintained by xenog@protonmail.com

Module documentation for 1.0.0

This version can be pinned in stack with:json-rpc-1.0.0@sha256:8818da9cff6ae0803c6e21ce55fb26eab68a90b22851962368150dee49ecf16d,3428


Fully-featured JSON-RPC 2.0 library for Haskell programs.

This JSON-RPC library is fully-compatible with JSON-RPC 2.0 and 1.0. It provides an interface that combines a JSON-RPC client and server. It can set and keep track of request ids to parse responses. There is support for sending and receiving notifications. You may use any underlying transport. Basic TCP client and server provided.

A JSON-RPC application using this interface is considered to be peer-to-peer, as it can send and receive all types of JSON-RPC message independent of whether it originated the connection.





All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.0.0 - 2018-08-12


  • Complete JSON-RPC 1.0 and 2.0 support.
  • Ability to use either endpoint to send and receive requests, responses or notifications.
  • Simple TCP client/server implementation available.
  • Example files.
  • Exhaustive test suite.
  • Compatibility with GHC 8.4.
  • Support semantic versioning.
  • Add a changelog.