Function select_json

Source
pub fn select_json<'a>(
    expr: &PathCompiled<'_>,
    json_str: &'a str,
) -> Option<Cow<'a, str>>
Expand description

Returns a string of the most specific value given the compiled JSON path expression. This avoids creating a list to represent individual elements so that they can be selected directly.