pub fn each_is_array() -> JsonPredicateMatcher<impl Fn(&Value) -> bool, String, &'static str>Expand description
Matches JSON arrays whose elements are all JSON arrays.
ยงExamples
assert_that!(j!([[1], [2]]), json::each_is_array());
assert_that!(j!([[1], {"a": 1}]), not(json::each_is_array()));