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_fractional_number, is_integer, is_not_null, is_null, is_number, is_object, is_string,
15        is_true, is_whole_number, len, matches_pattern, optional, pat, predicate, primitive,
16        unordered_elements_are, value,
17    };
18}
19
20// Show matchers on the crate root in generated docs without changing the runtime API.
21#[cfg(doc)]
22#[doc(inline)]
23pub use json::{
24    any_value, contains_each, each, elements_are, has_only_paths, has_path_with, has_paths,
25    is_array, is_boolean, is_contained_in, is_empty_array, is_empty_object, is_false,
26    is_fractional_number, is_integer, is_not_null, is_null, is_number, is_object, is_string,
27    is_true, is_whole_number, len, matches_pattern, optional, pat, predicate, primitive,
28    unordered_elements_are, value,
29};