jsonrpclib
This is a cross-platform, cross-scala-version library that provides construct for bidirectional communication using the jsonrpc protocol. It is built on top of fs2 and jsoniter-scala
This library does not enforce any transport, and can work on top of stdin/stdout or other channels.
Installation
The dependencies below are following cross-platform semantics. Adapt according to your needs
SBT
libraryDependencies += "tech.neander" %%% "jsonrpclib-fs2" % version
Mill
override def ivyDeps = super.ivyDeps() ++ Agg(ivy"tech.neander::jsonrpclib-fs2::$version")
Scala-cli
//> using lib "tech.neander::jsonrpclib-fs2:<VERSION>"
Usage
/!\ Please be aware that this library is in its early days and offers strictly no guarantee with regards to backward compatibility
See the examples folder