pub struct JsonReader<R> { /* private fields */ }
Implementations§
Source§impl<R: BufRead + Seek> JsonReader<R>
impl<R: BufRead + Seek> JsonReader<R>
pub fn from_reader(reader: R) -> Self
Sourcepub fn max_stack_size(&mut self, size: usize) -> &mut Self
pub fn max_stack_size(&mut self, size: usize) -> &mut Self
Maximal allowed number of nested object and array openings. Infinite by default.
pub fn read_event<'a>( &mut self, buffer: &'a mut Vec<u8>, ) -> Result<JsonEvent<'a>>
Auto Trait Implementations§
impl<R> Freeze for JsonReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for JsonReader<R>where
R: RefUnwindSafe,
impl<R> Send for JsonReader<R>where
R: Send,
impl<R> Sync for JsonReader<R>where
R: Sync,
impl<R> Unpin for JsonReader<R>where
R: Unpin,
impl<R> UnwindSafe for JsonReader<R>where
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more