jsonpath_rust::parser

Function parse_json_path

Source
pub fn parse_json_path<T>(
    jp_str: &str,
) -> Result<JsonPath<T>, JsonPathParserError>
where T: JsonLike,
Expand description

Parses a string into a JsonPath.

ยงErrors

Returns a variant of JsonPathParserError if the parsing operation failed.