colrev.loader.bib.process_lines

process_lines(file, header_only=False)[source]

Processes each line of the file and constructs records.

Return type:

List[Dict[str, Any]]

Args:

file (TextIO): The file object to read from. header_only (bool): If True, only extract required header fields.

Returns:

List[Dict[str, Any]]: Parsed records.