9951 explained code solutions for 126 technologies


pythonHow to open JSON file


import json
with open('/tmp/data.json') as f:
  obj = json.load(f)ctrl + c
/tmp/data.json

path to JSON file

json.load

parse json object in file and gives result in dictionary