Anyone have any ideas?
I cannot get the json formated data to get passed to view.
Also tried creating separate controller. (Note isolated by itself,
json.dumps(json_list) works to format the data correctly.)
def output_json(json_list):
import json
return json.dumps(json_list)
call the function from the main controller below.
output_json(json_list) (and also tried: json_list = output_json(json_list))
but does not copy the json-formatted data back to main controller or view
any suggestions?
--
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.