def process_bind_param(self, value, dialect):
        """convert value from python object to json"""
        if value is not None:
            value = simplejson.dumps(value)
        return value
def process_bind_param ( self , value , dialect ) : if value is not None : value = simplejson . dumps ( value ) return value
convert value from python object to json