from typing import List
import json


def get_parsed_records(tap_output: str) -> List[dict]:
    """Generates a list of the records from the stdout string provided"""
    return [
        json.loads(_ + "}") for _ in tap_output.split("}\n") if '"type": "RECORD' in _
    ]