[Google Wave APIs] Re: JSON from robot (python) to gadget the right way

2009-10-28 Thread Teddy Jasin
... If for instance I do: delta['surahcontent'] = 1 it will fail. While doing: delta['surahcontent'] = str(1) will work. Agustin. On Oct 27, 4:59 am, Teddy Jasin jasin.te...@gmail.com wrote: Hi agustin, here's the sample of some json I send to the gadget: delta = {'surahcontent': u

[Google Wave APIs] Re: How much data can I submit through submitDelta()?

2009-10-27 Thread Teddy Jasin
ahhh I think what GH asked is what I wanted to know too... my robot is sending data to gadget using submitdelta. the data sending is unicode text like this way: delta = {'surahcontent': u'\u0628\u0650\u0633\u0652\u0645\u0650 \u0627\u0644\u0644\u0651\u064e\u0647\u0650

[Google Wave APIs] Re: JSON from robot (python) to gadget the right way

2009-10-27 Thread Teddy Jasin
. On Mon, Oct 26, 2009 at 4:06 PM, Teddy Jasin jasin.te...@gmail.com wrote: Hi Agustin, I think I'm also facing same issue with you. in my case I'm sending data from the robot to the gadget also using json, however my json data is arabic texts which is converted unicode... so it become

[Google Wave APIs] Re: JSON from robot (python) to gadget the right way

2009-10-26 Thread Teddy Jasin
Hi Agustin, I think I'm also facing same issue with you. in my case I'm sending data from the robot to the gadget also using json, however my json data is arabic texts which is converted unicode... so it become longer json strings. the gadget will not show if the passed data is too long. so I