README for Roy Orbjson , the JSON-RPC/Ruby ORB
Orbjson is a JSON-RPC ORB (object request broker) library that allows Web applications to respond to JSON-RPC requests (including, but not limited to, the XmlHttpRequest object), executing Ruby code on the server but sending back JSON-serialized objects to the client.
Client code may then be written that treats all method invocations as local; the jsonrpc.js handles the object serialization for the client, and the ruby-json code handles the json marshaling on the server.
For more API detals, see the docs for Orbjson::System
For a more general explanation, with an example, please see orbjson.rubyforge.org/tutorial
For general inforamtion, please see orbjson.rubyforge.org
Copyright © 2005 James Britt & Neurogami LLC
Big thanks to Florian Franks for his ruby-json lib, and Jamis Buck for Needle
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License,
version 2, as published by the Free Software Foundation.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA.