def from_json(self, fname):
with open(fname, '<STR_LIT>') as fp:<EOL><INDENT>for row in json.load(fp):<EOL><INDENT>nn = ServerInfo.from_dict(row)<EOL>self[str(nn)] = nn<EOL><DEDENT><DEDENT>
Read contents of a CSV containing a list of servers.