// Tuples look just like sequences in JSON. Some formats may be able to
// represent tuples more efficiently.
//
// As indicated by the length parameter, the `Deserialize` implementation
// for a tuple in the Serde data model is required to know the length of the
// tuple before even looking at the input data.
Tuples look just like sequences in JSON. Some formats may be able to
represent tuples more efficiently.

As indicated by the length parameter, the `Deserialize` implementation
for a tuple in the Serde data model is required to know the length of the
tuple before even looking at the input data.
Tuples look just like sequences in JSON . Some formats may be able to represent tuples more efficiently . As indicated by the length parameter the ` Deserialize ` implementation for a tuple in the Serde data model is required to know the length of the tuple before even looking at the input data .
fn deserialize_tuple<V>(mut self, len: usize, visitor: V) -> Result<V::Value>
    where
        V: Visitor<'de>,
    {
        // self.deserialize_seq(visitor)
        // let _len = self.read_len()?;
        // let value = visitor.visit_seq(DumpReader::new(&mut self))?;
        // Ok(value)
        // unimplemented!();
        let value = visitor.visit_seq(BytesReader::new(&mut self, len))?;
        Ok(value)
    }
fn deserialize_tuple < V > ( mut self , len : usize , visitor : V ) -> Result < V :: Value > where V : Visitor < ' de > , { // self.deserialize_seq(visitor) // let _len = self.read_len()?; // let value = visitor.visit_seq(DumpReader::new(&mut self))?; // Ok(value) // unimplemented!(); let value = visitor . visit_seq ( BytesReader :: new ( & mut self , len ) ) ? ; Ok ( value ) }
Tuples look just like sequences in JSON.
Tuples look just like sequences in JSON .
mut self
len
usize
visitor
V