cml

Function parse_many_documents

Source
pub fn parse_many_documents(
    buffer: &String,
    file: &Path,
) -> Result<Vec<Document>, Error>
Expand description

Parses a string buffer into a vector of Document. file is used for error reporting. Supports JSON encoded as an array of Document JSON objects.