#!/usr/bin/python3
"""manipulate files"""
import json


def save_to_json_file(my_obj, filename):
    with open(filename, mode="w", encoding='UTF-8') as ff:
        ff.write(json.dumps(my_obj))

308cc13fad198e0c866a1685f4e0f2ff9671da36
<mask token>

<mask token>


def save_to_json_file(my_obj, filename):
    with open(filename, mode='w', encoding='UTF-8') as ff:
        ff.write(json.dumps(my_obj))

<mask token>
import json


def save_to_json_file(my_obj, filename):
    with open(filename, mode='w', encoding='UTF-8') as ff:
        ff.write(json.dumps(my_obj))

#!/usr/bin/python3
"""manipulate files"""
import json


def save_to_json_file(my_obj, filename):
    with open(filename, mode="w", encoding='UTF-8') as ff:
        ff.write(json.dumps(my_obj))
