Oh screw it, I wrote my own decorator.

 >>> class jsonit(object):
        def __init__(self,decobj):
                self.r = decobj()
        def __call__(self):
                return json.dumps(self.r)



Regards,
mk


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to