[Grok-dev] Example JSON-RPC example

Roger Erens roger.erens at e-s-c.biz
Fri Apr 3 08:10:33 EDT 2009


on 04/03/2009 12:19 PM Michael Haubenwallner wrote:
> Roger Erens wrote:
...
> "olleH" is a JSON string, so it is just what you should expect from your
> view.
> 
> Your problem is, that you want to use JSON-RPC (from pyjames) to
> communicate with Grok. This protocol is not supported by Grok. All you
> can do is call a grok.JSONView (like any other URL, e.g.
> http://localhost:8080/your_app/samplejson) and get a JSON object returned.

So this implies that at the moment Grok can send but not receive JSON
objects?

And in order to use JSON-RPC I would need to install e.g. z3c.jsonrpc?

> 
> Regards
> Michael
> 

Thanks,

Roger


More information about the Grok-dev mailing list