Struct chisel_json::dom::Parser
source · pub struct Parser {}Expand description
Main JSON parser struct
Implementations§
source§impl Parser
impl Parser
pub fn parse_file<PathLike: AsRef<Path>>( &self, path: PathLike ) -> ParserResult<JsonValue<'_>>
pub fn parse_bytes(&self, bytes: &[u8]) -> ParserResult<JsonValue<'_>>
pub fn parse_str(&self, str: &str) -> ParserResult<JsonValue<'_>>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
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