Skip to content

Simple JSON-RPC accept response objects for 1.0 version

License

Notifications You must be signed in to change notification settings

kosik/simple-json-rpc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple JSON-RPC Maven Central

Library for a simple integration of the JSON-RPC 2.0 protocol to a Java. application.

The repository is fork. My updates allows work with JSON-RPC version 1.0; Plus made the library compatible with Java-10. This is important because there are peers running specifically on JSON-RPC v1.0; Also this is important because Hibernate & Spring-data has isssues related specifically to the latest Java versions.

The lib goal is to provide a simple, fast and reliable way to integrate JSON-RPC 2.0 into a Java application on the server and/or the client side. You need to configure respectively JsonRpcServer or JsonRpcClient and implement transport code: the library takes care of the rest. No manual JSON transformation, reflection and manual error handling, just a service interface with annotations. Even this is not a requirement! There is a fluent API on the client side if you prefer builder style APIs. The library is a JSON-RPC 2.0 compliant implementation, so it should support handle all kind of JSON-RPC requests (correct or malformed). It doesn't depend on any transport protocol, an application server, or a DI framework.

The library has a few dependencies:

  • Jackson, which is great for JSON parsing and data-binding;
  • Guava, which is great for caching and optional values (needed only for the server side)
  • SL4J, which is the standard for logging (needed only for server)
  • IntelliJ Annotations, which is great for providing compiler-time null checks.

Submodules

About

Simple JSON-RPC accept response objects for 1.0 version

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%