Skip to main content

read_header

Function read_header 

Source
pub fn read_header<R: BufRead>(
    schema: &'static Schema,
    input: R,
    source: Option<&str>,
) -> Result<Option<ModelHeader>>
Expand description

Read only the header of a document, without storing objects.

Useful for planning a multi-file load: headers declare profiles and dependencies.