json/pyjson.py
def jsonFileToDict(filename):
	"""Import a .json file into a Python dictionary
	   INPUT: filename.json file
		Output: dict containing file contents
	   """

	with open(filename, 'r') as f:
		jsondata = json.load(f)
		dictdata = dict(jsondata)
		return dictdata
Import a .json file into a Python dictionary
	   INPUT: filename.json file
		Output: dict containing file contents
	   
Import a .json file into a Python dictionary
INPUT: filename.json file
Output: dict containing file contents
Import a . json file into a Python dictionary INPUT : filename . json file Output : dict containing file contents
def jsonFileToDict(filename):
	with open(filename, 'r') as f:
		jsondata = json.load(f)
		dictdata = dict(jsondata)
		return dictdata
def jsonFileToDict ( filename ) : with open ( filename , 'r' ) as f : jsondata = json . load ( f ) dictdata = dict ( jsondata ) return dictdata
Import a .json file into a Python dictionary
INPUT: filename.json file
Output: dict containing file contents
Import a . json file into a Python dictionary INPUT : filename . json file Output : dict containing file contents
"""Import a .json file into a Python dictionary
	   INPUT: filename.json file
		Output: dict containing file contents
	   """
filename