import json with open('path_to_file/person.json') as f: data = json.load(f)
# load (load from text file): import json info = json.load(open('data.json')) # loads (load from string): import json info = json.loads('{"hello":"grepperians"}')