pub fn expect_document<'a, I>(
    tokens: &mut Peekable<I>
) -> Result<Document, DeserializeError>
where I: Iterator<Item = Result<Token<'a>, DeserializeError>>,
Expand description

Expects and parses a complete document value.