Struct jsonpath_rust::JsonPathFinder [−][src]
pub struct JsonPathFinder { /* fields omitted */ }Expand description
The base structure conjuncting the json instance and jsonpath instance
Implementations
impl JsonPathFinder[src]
impl JsonPathFinder[src]pub fn new(json: Value, path: JsonPath) -> Self[src]
pub fn new(json: Value, path: JsonPath) -> Self[src]creates a new instance of [JsonPathFinder]
pub fn set_json_str(&mut self, json: &str) -> Result<(), String>[src]
pub fn set_json_str(&mut self, json: &str) -> Result<(), String>[src]updates a json from string and therefore can be some parsing errors
pub fn set_path_str(&mut self, path: &str) -> Result<(), String>[src]
pub fn set_path_str(&mut self, path: &str) -> Result<(), String>[src]updates a path from string and therefore can be some parsing errors
pub fn from_str(json: &str, path: &str) -> Result<Self, String>[src]
pub fn from_str(json: &str, path: &str) -> Result<Self, String>[src]create a new instance from string and therefore can be some parsing errors