Struct serde_json::de::StrRead
[−]
[src]
pub struct StrRead<'a> { /* fields omitted */ }
JSON input source that reads from a UTF-8 string.
pub struct StrRead<'a> { /* fields omitted */ }
JSON input source that reads from a UTF-8 string.
impl<'a> StrRead<'a>
[src]impl<'a> Read for StrRead<'a>
[src]fn next(&mut self) -> Result<Option<u8>>
[src]fn peek(&mut self) -> Result<Option<u8>>
[src]fn discard(&mut self)
[src]fn position(&self) -> Position
[src]fn peek_position(&self) -> Position
[src]fn parse_str<'s>(&'s mut self, scratch: &'s mut Vec<u8>) -> Result<&'s str>
[src]fn parse_str_raw<'s>(&'s mut self, scratch: &'s mut Vec<u8>) -> Result<&'s [u8]>
[src]