ruma_common::serde::test

Function 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.