# Module cloudi_json_rpc

- Description
- Function Index
- Function Details

### CloudI JSON RPC

.

Copyright © 2011-2014 Michael Truog

Version: 1.3.2 Jan 10 2017 17:41:25 ------------------------------------------------------------------------

Authors: Michael Truog (`mjtruog [at] gmail (dot) com`).

## Description

### CloudI JSON RPC

## Function Index

request_to_json/2 |
request_to_json/3 |
request_to_term/1 |
response_to_json/2 |
response_to_json/4 |
response_to_term/1 |

## Function Details

### request_to_json/2

`request_to_json(Method::atom() | string() | binary(), Id::integer()) -> binary()`

### request_to_json/3

`request_to_json(Method::atom() | string() | binary(), Params::list(), Id::integer()) -> binary()`

### request_to_term/1

`request_to_term(Data::binary() | string()) -> {binary(), [binary()], integer()}`

### response_to_json/2

`response_to_json(Result::binary(), Id::integer()) -> binary()`

### response_to_json/4

`response_to_json(Result::binary() | null, ErrorCode::integer() | null, ErrorMessage::binary() | null, Id::binary() | integer()) -> binary()`

### response_to_term/1

`response_to_term(Data::binary() | string()) -> {binary(), integer() | null, binary() | null, binary() | integer()}`

Generated by EDoc, Jan 10 2017, 17:41:25.