[Grok-dev] Example JSON-RPC example
michael at d2m.at
Fri Apr 3 06:19:54 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Roger Erens wrote:
> on 04/03/2009 11:34 AM Souheil CHELFOUH wrote:
>> I think he wants to *receive* JSON datas, and that is his main problem
> Yes, I'm working my way through some JSON tutorial now. Maybe that will
> enable me to pinpoint the problem better.
"olleH" is a JSON string, so it is just what you should expect from your
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Grok-dev