Skip to main content

bson_document_to_parse_map

Function bson_document_to_parse_map 

Source
pub fn bson_document_to_parse_map(
    doc: &Document,
) -> Result<ParseMap, ParseError>
Expand description

Raise a stored sub-document into Parse form, verbatim.

Used for the _metadata sub-keys, which parse-rust round-trips without interpreting.