Reading JSON file with Python 3 August 28, 2023 by Tarik Try this import json with open('filename.txt', 'r') as f: array = json.load(f) print (array)