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