(cls, input_file)
Reads a json list file.
Reads a json list file.
Reads a json list file .
def _read_json(cls, input_file):
        """Reads a json list file."""
        with open(input_file, "r") as f:
            reader = f.readlines()
            lines = []
            for line in reader:
                lines.append(json.loads(line.strip()))
            return lines
def _read_json ( cls , input_file ) : with open ( input_file , "r" ) as f : reader = f . readlines ( ) lines = [ ] for line in reader : lines . append ( json . loads ( line . strip ( ) ) ) return lines