Skip to content
This repository

JSON-RPC 2.0 client and server for Ruby

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 CHANGELOG.rdoc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 add newline at end of README March 06, 2012
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION up version to 0.10.0 June 28, 2013
Octocat-spinner-32 jimson.gemspec


JSON-RPC 2.0 Client and Server for Ruby

next build status

Client: Quick Start

require 'jimson'
client ="") # the URL for the JSON-RPC 2.0 server to connect to
result = client.sum(1,2) # call the 'sum' method on the RPC server and save the result '3'

Server: Quick Start

require 'jimson'

class MyHandler
  extend Jimson::Handler 

  def sum(a,b)
    a + b

server =
server.start # serve with webrick on

JSON Engine

Jimson uses multi_json, so you can load the JSON library of your choice in your application and Jimson will use it automatically.

For example, require the 'json' gem in your application: require 'json'

Something went wrong with that request. Please try again.