Function aws_smithy_json::deserialize::token::expect_document

source ยท
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.