Skip to main content

parse_json_subject

Function parse_json_subject 

Source
pub fn parse_json_subject(subject: &str) -> Option<Result<JsonSubject, String>>
Expand description

Recognizes and compiles a JSONPath subject. None means the subject is a plain var name; Some(Err) means it looked like a JSONPath subject but the path is malformed.