Package org.consensusj.jsonrpc.cli
Class CliParameterParser
java.lang.Object
org.consensusj.jsonrpc.cli.CliParameterParser
Parser for command-line JSON-RPC method and parameters
-
Constructor Summary
ConstructorDescriptionCliParameterParser
(ObjectMapper mapper) CliParameterParser
(JsonRpcMessage.Version jsonRpcVersion, ObjectMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionParse command-line arguments (after options, etc.
-
Constructor Details
-
CliParameterParser
-
CliParameterParser
-
-
Method Details
-
parse
Parse command-line arguments (after options, etc. have been processed/removed)- Parameters:
args
- the JSON-RPC method name followed by JSON-RPC parameters as JSON strings- Returns:
- A request ready for serialization and sending
-