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