Reporting back on serializing objects and submitting them as delta. I tried again using simplejson and the result is what I described earlier without explicitly encoding them: the gadget breaks (i.e. in this case it doesn't get appended to the blip) and yet I see no errors in the log.
Let me know if need more info. Agustin. On Oct 22, 2:14 am, Agustin Horischnik <agu...@gmail.com> wrote: > Gotcha. Yeah, I can see why is better for concurrency. > Thanks for your help. > > On Thu, Oct 22, 2009 at 3:05 AM, pamela (Google Employee) < > > > > pamela...@gmail.com> wrote: > > For example, if you are storing the information about a shape that a > > participant just drew: > > You could do: > > delta = {'pamela.fox': "{'color':'red','shape':'circle'}"} > > > Or, you could do: > > delta = {'pamela.fox-color': 'red'} > > delta = {'pamela.fox-shape': 'circle'} > > > It may seem less elegant, but it is better in terms of concurrency, as it > > means that I can independently change different properties. > > > On Thu, Oct 22, 2009 at 11:56 AM, Agustin Horischnik > > <agu...@gmail.com>wrote: > > >> > Ah, got it. What was your experiencing with using simplejson? You should > >> be > >> > able to serialize that object and pass it through the delta. We don't > >> have a > >> > demo of that, but think it should work. > > >> I don't remember but I'll re-try simplejson and report back. > > >> > You could also consider using more complex keys, like > >> > viewerName-propertyName-subPropertyName, etc. That is a bit better in > >> terms > >> > of concurrency. > > >> hmm... I'm not sure I get that... could you please give me an example > >> whenever you have the time? > > >> Agustin. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~----------~----~----~----~------~----~------~--~---