Function ruma_common::serde::test::serde_json_eq
source ยท pub fn serde_json_eq<T>(de: T, se: Value)
Expand description
Assert that serialization of de
results in se
and deserialization of se
results in de
.
pub fn serde_json_eq<T>(de: T, se: Value)
Assert that serialization of de
results in se
and deserialization of se
results in de
.