There is a section in the documentation titled "CustomTypes" The following example shows how to encode and decode JSON:
https://docs.sqlalchemy.org/en/13/core/custom_types.html#marshal-json-strings Please be advised: If you store data in your own custom format, as you described, it will be difficult to query. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/305cbea9-ab72-45bd-9412-3e42feb68315%40googlegroups.com.