human
Python program to write json object to file.
assistant
Here is a Python program to write a json object to file

import json

def write_json_object_to_file(json_object, file_path):
    """Write json object to file"""
    with open(file_path, 'w') as f:
        json.dump(json_object, f, indent=4)

# Enter the json object
json_object = {"hello": "world"}

# Calling the function
print((write_json_object_to_file(json_object, "test.json")))

#Example Output
# None

#Remember to inspect code for bugs.