JSON-RPC is a remote procedure call protocol encoded in JSON. It is a very simple protocol (and very similar to XML-RPC), defining only a handful of data types and commands. In contrast to XML-RPC or SOAP it allows for bidirectional comunication between the service and the client treeting each more like peers allowing each peer to call one another or send notifications to one another. It also allows multiple calls to be sent to a peer which may be answered out of order. Besides using HTTP for transport one may use TCP/IP sockets. Using sockets one can create much more responsive web applications with JSON-RPC compared to polling data from a service with JSON-RPC over HTTP.
This article is licensed under the GNU Free Documentation License.
It uses material from the
"JSON-RPC".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world