Implementation of JSON-RPC protocol based on Spring Boot.
wcollections
git clone https://github.com/giosil/wcollections.gitmvn clean install- this will publishwcollections-1.0.0.jarin Maven local repository
git clone https://github.com/giosil/micro-json-rpc.gitmvn clean install
mvn spring-boot:run
docker compose up -d
POST http://localhost:8080/rpc
Content-Type: application/json
{
"id": 1,
"jsonrpc": "2.0",
"method": "DEMO.hello",
"params": ["world"]
}{
"id": 1,
"jsonrpc": "2.0",
"method": "DEMO.helloObj",
"params": ["world"]
}http://localhost:8080/api-docs