Struct json_commons::JsonCommons
source · [−]pub struct JsonCommons {}
Implementations
sourceimpl JsonCommons
impl JsonCommons
pub fn new() -> JsonCommons
pub fn read_str(&self, content: &str) -> JsonValue
pub fn read_file(&self, file_path: &str) -> JsonValue
pub fn get_path(&self, path: &str, content: JsonValue) -> Option<JsonValue>
pub fn path_exists(&self, path: &str, content: JsonValue) -> bool
pub fn parse_to_vec(&self, content: JsonValue) -> VecDeque<JsonValue>
Auto Trait Implementations
impl RefUnwindSafe for JsonCommons
impl Send for JsonCommons
impl Sync for JsonCommons
impl Unpin for JsonCommons
impl UnwindSafe for JsonCommons
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more