Skip to main content

resolve_claim_path

Function resolve_claim_path 

Source
fn resolve_claim_path<'a>(
    claims: &'a BTreeMap<String, Value>,
    claim_path: &str,
) -> Option<&'a Value>
Expand description

Walks a dot-separated claim path into nested JSON objects. Returns None if the path is empty, any segment is empty, an intermediate segment is missing, or an intermediate segment resolves to a non-object value.