import json


def parse_log(log_file):
    """Parse a newline-separated logfile into result objects."""
    with open(log_file, 'r') as fp:
        results = [json.loads(line.strip()) for line in fp]
    return results