def save_file_json(data, export_file):
create_dir(os.path.dirname(export_file))<EOL>with open(export_file, "<STR_LIT:w>") as file:<EOL><INDENT>json.dump(data, file, indent=<NUM_LIT:4>)<EOL><DEDENT>
Write data to a json file.