import json


def load_jsonl(string):
    """JSON Lines format string into JSON object.
    See http://jsonlines.org/ for the detail of the format.

    Parameters
    ----------
    str : string
        string to load

    Returns
    -------
    list of objects
        Resulting object.
    """
    if isinstance(string, bytes):
        string = string.decode('utf-8')
    return [json.loads(part) for part in string.split('\n')]