def htmlsafe_dump(obj, fp, **kwargs):
    fp.write(text_type(htmlsafe_dumps(obj, **kwargs)))
Like :func:`htmlsafe_dumps` but writes into a file object.
dataset/ETHPy150Open pallets/flask/flask/json.py/htmlsafe_dump