On Sat, Mar 3, 2012 at 8:11 AM, Rahul Rajan <[email protected]> wrote:
> yes, i was double-encoding. thanks :)

 *winks* :)

> also because I was encoding python dicts and not php arrays (like in the
> dynamictable example) I had to change:
>
>> class_name = @{{obj}}["__jsonclass__"][0]
>
> to
>>
>> class_name = @{{obj}}["__jsonclass__"]

 yeah that means that you're no longer compliant with the JSONRPC
specification.  you need to sort that out server-side, passing in a
list of classnames, not destroy the code you're working with

 the reason for the list is because objects can have multiple
inheritance, can't they?  so the JSONRPC specification caters for this
by passing a *list* of class names, doesn't it?

 so, yeah, the pyjamas decode code is strictly speaking non-compliant
with the JSONRPC specification but is *effectively* compliant with the
JSONRPC specification.

 don't mess with it!

 l.

Reply via email to