import json


def parse_json(text_line):
    """Return the well-formed JSON lines, otherwise, retrun None."""
    try:
        return(json.loads(text_line))
    except ValueError:
        return(None)