def json_load(filename):
 with open(filename, u'r') as fh:
  return json.load(fh, object_hook=_json_decode)

def json_load ( filename ) : with open ( filename , u'r' ) as fh : return json . load ( fh , object_hook = _json_decode )
loads a data structure as json from the named file .