On Monday, May 19, 2014 7:06:20 PM UTC-4, Randall Leeds wrote: > > > http://docs.pylonsproject.org/projects/pyramid/en/master/narr/renderers.html#using-the-add-adapter-method-of-a-custom-json-renderer > > FWIW, I found it more beneficial to use a custom JSON serializer and make it available via a "py2json" function... then register a new "json" & "jsonp" renderer with pyramid that uses it.
The pyramid adapter method is perfectly fine, but at some point you may need to write (not just render) JSON objects too. -- 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 pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.