pub struct JsonParser;
Implementations§
Source§impl JsonParser
impl JsonParser
pub fn find(json_binary: &[u8], path: &str) -> Value
pub fn first(value: &Value) -> Option<&Value>
pub fn print(json_path_value: &Value) -> String
pub fn pretty(json_path_value: &Value) -> String
pub fn get_vec(json_path_value: Value) -> Vec<u8> ⓘ
pub fn get_string(json_path_value: Value) -> String
pub fn get_utc_frame_time(json_path_value: Value) -> DateTime<Utc>
pub fn get_utc_timestamp_millis(json_path_value: Value) -> i64
pub fn get_utc_timestamp_nanos(json_path_value: Value) -> i64
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