has_only_paths

Function has_only_paths 

Source
pub fn has_only_paths(
    paths: &[&str],
) -> JsonPredicateMatcher<impl Fn(&Value) -> bool, String, String>
Expand description

Matches a JSON object whose paths are exactly the provided set (no extras or missing).