Ok, how do I convert a python object to a json object in the view?

From: Niphlod 
Sent: Tuesday, March 03, 2015 2:10 PM
To: [email protected] 
Subject: Re: [web2py] Re: Problems after upgrading to 2.9.12

then, it's exactly as I said: the improper use of response.json.

On Tuesday, March 3, 2015 at 8:59:59 PM UTC+1, naveed wrote: 
  Sorry, I should have been more clear. It’s caused by adding the line 

  {{=(response.json(['foo', {'bar': ('baz', None, 1.0, 2)}])) }}

  in to the existing index.html

-- 
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 a topic in the Google 
Groups "web2py-users" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/web2py/9TZA25peXTE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
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.

Reply via email to