pub fn to_raw<T: Serialize, U>(input: T) -> Result<Raw<U>>
Perform a round-trip through serde_json starting with a native type T and ending with a Ruma Raw<U> which is usually just T.
Raw<U>