Hi folks, I'm making a restul web service controller and it uses the
default method to dispatch to verb-named methods, so these methods are
*not* decorated with @expose(). For the human readable version of them I
use a return statement like so to choose the template:

return dict( tg_template="my_template", stuff=stuff )

Can anyone tell me how to do the above but return json data?

Thanks!
Iain


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to