If you are just using the column value itself, you probably need to convert it to a string before putting it in the json.
Example: >>> c = long(10) >>> c 10L >>> str(c) '10' On Saturday, October 26, 2013 8:09:25 AM UTC-7, Ramesh Kumar wrote: > > Thanks Derek, but I am facing one more problem. An 'L' gets appended to > integer data. When I try to get the dict into a json, I am facing "Uncaught > SyntaxError: Unexpected token ILLEGAL " error. Any help on this? > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.