https://kotlinlang.org logo
#getting-started
Title
# getting-started
f

Florian Magin

01/06/2022, 12:11 PM
Is there some canonical library if I need a JSONRPC2 client in Kotlin? There are a few small projects, most with barely any stars on GitHub https://github.com/Reedyuk/jsonrpc-kotlin-client, or other larger projects that seem outdated, and e.g. don't have documentation anymore because the wiki link is broken https://github.com/markaren/YAJ-RPC
m

Matteo Mirk

01/10/2022, 10:35 AM
If there are no robust or stable Kotlin libraries you can look for a Java one, if you’re targeting the JVM. Otherwise if you’re not forced to use JSON RPC and you can take design decision, I’d suggest using gRPC which uses JSON and it’s well supported by Google.
6 Views