pub fn assert_json_matches_no_panic<Lhs, Rhs>(
lhs: &Lhs,
rhs: &Rhs,
config: Config,
) -> Result<(), String>Expand description
Compares two JSON values without panicking.
Instead it returns a Result where the error is the message that would be passed to panic!.
This is might be useful if you want to control how failures are reported and don’t want to deal
with panics.