fdutils/files.py
def json_utils_default(obj):
    """ defaults function used by json.dumps function to make datetime values javascript compatible

    """
    if isinstance(obj, datetime):
        return obj.isoformat()
    return obj
 defaults function used by json.dumps function to make datetime values javascript compatible

    
defaults function used by json.dumps function to make datetime values javascript compatible
defaults function used by json . dumps function to make datetime values javascript compatible
def json_utils_default(obj):
    if isinstance(obj, datetime):
        return obj.isoformat()
    return obj
def json_utils_default ( obj ) : if isinstance ( obj , datetime ) : return obj . isoformat ( ) return obj
defaults function used by json.dumps function to make datetime values javascript compatible
defaults function used by json . dumps function to make datetime values javascript compatible
""" defaults function used by json.dumps function to make datetime values javascript compatible

    """
obj