Skip to main content

parse_mapping

Function parse_mapping 

Source
pub fn parse_mapping(s: &str, format: Format) -> Result<Mapping>
Expand description

Parse a metadata mapping (the shape of frontmatter) in format. An empty document is an empty mapping; a non-mapping top level is an error.