Is there an simple way to parse this into an easier-to-work-with object. I
mean for example 'columns' could be a list.
{'columns[0][data]': 'first_name',
'columns[0][name]': '',
'columns[0][orderable]': 'true',
'columns[0][search][regex]': 'false',
'columns[0][search][value]': '',
'columns[0][searchable]': 'true',
'columns[1][data]': 'last_name',
'columns[1][name]': '',
'columns[1][orderable]': 'true',
'columns[1][search][regex]': 'false',
'columns[1][search][value]': '',
'columns[1][searchable]': 'true',
'draw': '1',
'length': '2',
'order[0][column]': '0',
'order[0][dir]': 'asc',
'search[regex]': 'false',
'search[value]': '',
'start': '0'}
BTW this is from a Datatables post request for creating server-side sql
queries. Maybe someone has already figured this out. I'm just trying to
save time in creating a web2py query.
Many thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.