macro_rules! assert_json_include {
    (actual: $actual:expr, expected: $expected:expr $(,)?) => { ... };
    (expected: $expected:expr, actual: $actual:expr $(,)?) => { ... };
}
Expand description

Compare two JSON values for an inclusive match.

It allows actual to contain additional data. If you want an exact match use assert_json_eq instead.

See crate documentation for examples.