def METHOD_NAME(
    self,
    config: FileBasedStreamConfig,
    file: RemoteFile,
    stream_reader: AbstractFileBasedStreamReader,
    logger: logging.Logger,
    discovered_schema: Optional[Mapping[str, SchemaType]],
) -> Iterable[Dict[str, Any]]:
    """
    This code supports parsing json objects over multiple lines even though this does not align with the JSONL format. This is for
    backward compatibility reasons i.e. the previous source-s3 parser did support this. The drawback is:
    * performance as the way we support json over multiple lines is very brute forced
    * given that we don't have `newlines_in_values` config to scope the possible inputs, we might parse the whole file before knowing if
      the input is improperly formatted or if the json is over multiple lines
    The goal is to run the V4 of source-s3 in production, track the warning log emitted when there are multiline json objects and
    deprecate this feature if it's not a valid use case.
    """
    yield from self._parse_jsonl_entries(file, stream_reader, logger)