JSON-RPC is a stateless, light-weight remote procedure call (RPC) protocol. Primarily this specification defines several data structures and the rules around their processing.It uses JSON (RFC 4627) as data format.
JSON-RPC works by sending a request to a server implementing this protocol. The client in that case is typically software intending to call a single method of a remote system. ... All transfer types are single objects, serialized using JSON. A request is a call to a specific method provided by a remote system.