@staticmethod<EOL><INDENT>def read(fname):<DEDENT>
try:<EOL><INDENT>with open(fname, '<STR_LIT:r>') as f:<EOL><INDENT>data = json.load(f)<EOL><DEDENT>return data<EOL><DEDENT>except IOError:<EOL><INDENT>raise Exception('<STR_LIT>'.format((fname)))<EOL><DEDENT>
Reads a Json file
in: file name
out: length of file, dictionary