# Copyright (C) 2020 * Ltd. All rights reserved. # author : Sanghyeon Jo import json def read_json(filepath): with open(filepath, 'r') as f: data = json.load(f) return data def write_json(filepath, data): with open(filepath, 'w') as f: json.dump(data, f, indent = '\t')