Registry / networking / jsonrpc4j

jsonrpc4j

JSON →
library1.5.3javamavenunverified

Provides the facility to easily implement JSON-RPC for the Java programming language.

<dependency> <groupId>com.github.briandilley.jsonrpc4j</groupId> <artifactId>jsonrpc4j</artifactId> <version>1.5.3</version> </dependency>
INSTALL
IMPORT
SIG · JSONRPC4J
J
jsonrpc4j
networkingjavav1.5.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JsonRpcHttpClient
com.googlecode.jsonrpc4j.JsonRpcHttpClient

Creates a JSON-RPC client and invokes a remote method.

import com.googlecode.jsonrpc4j.JsonRpcHttpClient; import java.net.URL; public class Quickstart { public static void main(String[] args) throws Exception { JsonRpcHttpClient client = new JsonRpcHttpClient(new URL("http://example.com/jsonrpc")); String result = client.invoke("methodName", new Object[]{"param1"}, String.class); System.out.println(result); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jsonrpc4j — mvn dependency:get jsonrpc4j · libregistry