import json


def read_JSON_file(path):
    """
    Given a line-by-line JSON file, this function converts it to
    a Python dict and returns all such lines as a list.

    :param path: the path to the JSON file

    :returns items: a list of dictionaries read from a JSON file
    """
    items = list()
    with open(path, 'r') as raw_data:
        for line in raw_data:
            line = json.loads(line)

            items.append(line)
    return items