[Grok-dev] Example JSON-RPC example

Roger Erens roger.erens at e-s-c.biz
Fri Apr 3 05:47:00 EDT 2009


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.

> 
> 2009/4/3 Christian Klinger <cklinger at novareto.de>:
>> Hi Roger,
>>

>> So maybe you have to say:
>>
>>    def reverse(self, msg):
>>       return {'mystring': msg[::-1]}
>>

Thanks for pointing out this detail.

Roger


More information about the Grok-dev mailing list