pub struct JSONParser {}
Implementations§
Source§impl JSONParser
impl JSONParser
pub fn parse( input: &str, options: ParseOptions, ) -> Result<ParseResult<&str>, String>
pub fn parse_bytes( input: &[u8], options: ParseOptions, ) -> Result<ParseResult<&str>, String>
pub fn change_depth<'json>( previous_parse_result: &mut ParseResult<&'json str>, parse_options: ParseOptions, ) -> Result<(), String>
pub fn change_depth_owned<'json>( previous_parse_result: &mut ParseResult<String>, parse_options: ParseOptions, ) -> Result<(), String>
pub fn serialize<'a>(data: &mut Vec<FlatJsonValue<&'a str>>) -> Value<&'a str>
pub fn serialize_owned(data: &mut Vec<FlatJsonValue<String>>) -> Value<String>
Auto Trait Implementations§
impl Freeze for JSONParser
impl RefUnwindSafe for JSONParser
impl Send for JSONParser
impl Sync for JSONParser
impl Unpin for JSONParser
impl UnwindSafe for JSONParser
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