Hey guys,
I'm passing in an array via $.ajax:
$.ajax({
data: { table: [[1, 2], [3, 4]] }
type: "post"
...
})
And request.vars (a Storage object) gets converted by jQuery into something
like this:
<Storage {'table[0][]': ['1', '2'], 'table[1][]': ['3', '4']}>
And I can't use getlist() because the parameter name isn't table but rather
table[0][] and table[1][] . I know I can just convert the table to JSON on
the client side, and convert it into a Python object on the server, but is
there any elegant "web2py" way of doing this?
Thanks!
--