Advertisement
bdf74

json to list

Feb 24th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. import json as json
  2. def parseFile():
  3.     file = open("datafile.json")
  4.     content = file.read()
  5.     file.close()
  6.     myJson = json.loads(content)
  7.     return myJson["UtilizationStatus"]
  8.  
  9. print (parseFile())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement