def json_write_data(json_data, filename):
with open(filename, '<STR_LIT:w>') as fp:<EOL><INDENT>json.dump(json_data, fp, indent=<NUM_LIT:4>, sort_keys=True, ensure_ascii=False)<EOL>return True<EOL><DEDENT>return False<EOL>
Write json data into a file