So you are working on the backend for a single-page application in Pyramid and need to serialize all kinds of objects to JSON? In this post we'll work our way up from the basic JSON-serialization built into Pyramid to a powerful approach for serializing SQLAlchemy objects. Serializing Simple Data Structures …