pub fn any_value() -> JsonPredicateMatcher<impl Fn(&Value) -> bool, &'static str, &'static str>๐Deprecated since 0.2.2: Use
is_not_null insteadExpand description
Matches JSON values that are not null.
ยงExamples
assert_that!(j!("ok"), json::any_value());
assert_that!(j!(null), not(json::any_value()));