# Module jsonrpc

This module implements the JSON-RPC protocoll.
It supports both JSON-RPC over HTTP and JSON-RPC over TCP sockets(if sockets are available).

## public members:▲

### ServiceProxy(url, methodNames, localService)

A class which creates proxy objects for remote JSON-RPC services.

- ServiceProxy::url The URL of the remote services.
- ServiceProxy::methodNames An Array containing the methodNames of the remote service.
- ServiceProxy::localService An Object providing methods to the remote service.

## dependencies:▲

### lang

The `lang` module is required for JSON object serialization and deserialization.

### urllib

The `urllib` module is only required when using JSON-RPC over HTTP.

### Sockets

You will need SVG1.2 sockets for JSON-RPC over TCP sockets to work. This dependency will change once the `net` module is written. It will provide networking services to jsolait.