Python Converting Nested array of objects in JSON to flattened excel
Python Converting Nested array of objects in JSON to flattened excel Question: Python Converting Nested array of objects in JSON to flattened excel Current Code def read_json(filename): jsonData = {} try: with open(filename, "r", encoding="utf-8") as f: jsonData = json.loads(f.read()) except: raise Exception(f"Reading {filename} file encountered an error") return jsonData json_data = read_json(filename=".json") df = …