pub fn is_non_empty_object() -> JsonPredicateMatcher<impl Fn(&Value) -> bool, &'static str, &'static str>Expand description
Matches a non-empty JSON object.
ยงExamples
assert_that!(j!({"a": 1}), json::is_non_empty_object());
assert_that!(j!({}), not(json::is_non_empty_object()));