I usually convert to a dict in the view and then have a custom JSON encoder instead of the pyramid one. The default encoder (in the json package) doesn't handle a lot of datatypes (like datetime) so it was easiest to replace.
-- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
