Struct serde_json::de::SliceRead
[−]
[src]
pub struct SliceRead<'a> { /* fields omitted */ }
JSON input source that reads from a slice of bytes.
Methods
impl<'a> SliceRead<'a>
[src]
pub fn new(slice: &'a [u8]) -> Self
[src][−]
Create a JSON input source to read from a slice of bytes.