On Tuesday, August 4, 2015 at 11:24:06 AM UTC-4, Michael Bayer wrote:
 

> it's a recipe.  Please tailor it to your needs.
>

Michael's recipe is rather advantageous though.  This encodes a `null` JSON 
string into a Python None, which corresponds to a NULL database field. 
 Encoding as the json-valid string "null" would require a lot of additional 
SqlAlchemy configurations to persist into the database as a `NULL` value 
instead of the string `'null'`. Most situations would want to deal with 
NULL/None instead of "null".

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to