pub fn has_only_paths( paths: &[&str], ) -> JsonPredicateMatcher<impl Fn(&Value) -> bool, String, String>
Matches a JSON object whose paths are exactly the provided set (no extras or missing).