googletest_json_serde/
lib.rs

1#![doc = include_str!("../README.md")]
2#[doc(hidden)]
3pub mod matcher_support;
4
5#[doc(hidden)]
6pub mod matchers;
7
8pub mod json {
9    #[allow(deprecated)]
10    #[doc(inline)]
11    pub use super::matchers::{
12        any_value, contains_each, each, elements_are, has_only_paths, has_path_with, has_paths,
13        is_array, is_boolean, is_contained_in, is_empty_array, is_empty_object, is_false,
14        is_not_null, is_null, is_number, is_object, is_string, is_true, len, matches_pattern,
15        optional, pat, predicate, primitive, unordered_elements_are, value,
16    };
17}
18
19// Show matchers on the crate root in generated docs without changing the runtime API.
20#[cfg(doc)]
21#[doc(inline)]
22pub use json::{
23    any_value, contains_each, each, elements_are, has_only_paths, has_path_with, has_paths,
24    is_array, is_boolean, is_contained_in, is_empty_array, is_empty_object, is_false, is_not_null,
25    is_null, is_number, is_object, is_string, is_true, len, matches_pattern, optional, pat,
26    predicate, primitive, unordered_elements_are, value,
27};