On an interactive console running: rows = db(mytable).select() rows[0].as_json()
I get the expected result, an unicode string containing the row representation with the right values. On a controller or view i get a complete different thing: The result is a dictionary with a single ['_extra'] key holding another dictionary as value with the row representation and incorrect values. Values are wrong since a field declared as "list" are properly formatted as a list in the interactive console case, but on the controller case, i get the db value instead of its representation. The questions are: Whats the "_extra" key for? How can i get the same result as the interactive console on a controller or view? 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.

